{"name":"convert-to-spaces","version":"1.0.1","description":"Convert tabs to spaces in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vdemedes/convert-to-spaces.git"},"author":{"name":"vdemedes","email":"vdemedes@gmail.com","url":"github.com/vdemedes"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["tabs","spaces"],"devDependencies":{"ava":"^0.16.0","xo":"^0.17.1"},"xo":{"esnext":true},"gitHead":"61ee8d951ccb8ef4c277a17923939ee9c64f6674","bugs":{"url":"https://github.com/vdemedes/convert-to-spaces/issues"},"homepage":"https://github.com/vdemedes/convert-to-spaces#readme","_id":"convert-to-spaces@1.0.1","_shasum":"df97c15b6d061375cc4f3efe01bfc1f4d2a83ad6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"df97c15b6d061375cc4f3efe01bfc1f4d2a83ad6","tarball":"http://registry-npm.ywwl.com/convert-to-spaces/download/convert-to-spaces-1.0.1.tgz","integrity":"sha512-XgKllIEeX8IrwoQWU5Tx60BG4UoW+BkE2d8IVWjZCA8gNNnsQbclv2357mPNvI4PHRLxC0b0sxrC5I5Y/RSy0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaP1LCAiS/8awiY436OEaKe5cD6hA4ZBDH/XxjG2/TMAiAG/fyEZAq+e3sG0tJ2tSuu7vPV6E3LA0m26QYFrctU2A=="}],"size":1540,"noattachment":false,"key":"/convert-to-spaces/-/convert-to-spaces-1.0.1.tgz"},"maintainers":[{"name":"vdemedes","email":"vdemedes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/convert-to-spaces-1.0.1.tgz_1479053594701_0.015807021874934435"},"directories":{},"readme":"# convert-to-spaces [![Build Status](https://github.com/vadimdemedes/convert-to-spaces/workflows/test/badge.svg)](https://github.com/vadimdemedes/convert-to-spaces/actions)\n\n> Convert tabs to spaces in a string\n\n## Install\n\n```\n$ npm install --save convert-to-spaces\n```\n\n## Usage\n\n```js\nimport convertToSpaces from 'convert-to-spaces';\n\nconvertToSpaces('\\t\\thello!');\n//=> '    hello!'\n```\n\n## API\n\n### convertToSpaces(input, [spaces])\n\n#### input\n\nType: `string`\n\nString to convert.\n\n#### spaces\n\nType: `number`<br>\nDefault: `2`\n\nNumber of spaces instead of each tab.\n\n## Related\n\n- [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs.\n","publish_time":1479053596579,"_cnpm_publish_time":1479053596579,"dist-tags":{"latest":"2.0.1"}}