{"name":"convert-to-spaces","version":"1.0.2","description":"Convert tabs to spaces in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/vadimdemedes/convert-to-spaces.git"},"author":{"name":"Vadim Demedes","email":"vdemedes@gmail.com"},"keywords":["tabs","spaces"],"engines":{"node":">= 4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"devDependencies":{"ava":"^0.18.2","xo":"^0.17.1"},"gitHead":"22d167f3783098dd3f1172cfa9bd3f421f4168eb","bugs":{"url":"https://github.com/vadimdemedes/convert-to-spaces/issues"},"homepage":"https://github.com/vadimdemedes/convert-to-spaces#readme","_id":"convert-to-spaces@1.0.2","_shasum":"7e3e48bbe6d997b1417ddca2868204b4d3d85715","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"7e3e48bbe6d997b1417ddca2868204b4d3d85715","tarball":"http://registry-npm.ywwl.com/convert-to-spaces/download/convert-to-spaces-1.0.2.tgz","integrity":"sha512-cj09EBuObp9gZNQCzc7hByQyrs6jVGE+o9kSJmeUoj+GiPiJvi5LYqEH/Hmme4+MTLHM+Ejtq+FChpjjEnsPdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYlXM4+1606mFSxGTEgGJzPg1kQTU9yPmBI/zcZfCsZAiEAn6jU5An3RNCdjrpuPzSm1MF5sYK/HnOK0ikXBkZ2HEw="}],"size":1501,"noattachment":false,"key":"/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz"},"maintainers":[{"name":"vdemedes","email":"vdemedes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/convert-to-spaces-1.0.2.tgz_1487880946191_0.8938314367551357"},"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":1487880948271,"_cnpm_publish_time":1487880948271,"dist-tags":{"latest":"2.0.1"}}