{"name":"convert-to-spaces","version":"1.0.0","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"],"dependencies":{"repeating":"^3.0.0"},"devDependencies":{"ava":"^0.16.0","xo":"^0.17.1"},"xo":{"esnext":true},"gitHead":"b7f1ef302da710fba6435b711efa3d4a48c6f45c","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.0","_shasum":"74f69fee5bd286149c00aab8aa786b4ec166428a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"vdemedes","email":"vdemedes@gmail.com"},"dist":{"shasum":"74f69fee5bd286149c00aab8aa786b4ec166428a","tarball":"http://registry-npm.ywwl.com/convert-to-spaces/download/convert-to-spaces-1.0.0.tgz","integrity":"sha512-l1X262ZaWN5tnw/pZRP0kC2t3gNjpcRjKixNUF7bMXmFsv3Ki5F09dXsOV/+CuEfGfzZBBuAVb2n0ZCt5bM/hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAb1JqAk96qwS6VVwpyEZ4AiwwEyCqf6QwUTpl1eYnVuAiEA185dlSx5bSQDxzi0nb8f2e67f5G5Eq8enXVXTpqCRVg="}],"size":1547,"noattachment":false,"key":"/convert-to-spaces/-/convert-to-spaces-1.0.0.tgz"},"maintainers":[{"name":"vdemedes","email":"vdemedes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/convert-to-spaces-1.0.0.tgz_1479051243109_0.9504898171871901"},"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":1479051245210,"_cnpm_publish_time":1479051245210,"dist-tags":{"latest":"2.0.1"}}