{ "_id": "convert-to-spaces", "_rev": "3-f5ff39767ab239f0271fdf2558b43dbd", "name": "convert-to-spaces", "description": "Convert tabs to spaces in a string", "dist-tags": { "latest": "1.0.2" }, "versions": { "1.0.0": { "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": "https://registry.npmjs.org/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": {} }, "1.0.1": { "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": "https://registry.npmjs.org/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": {} }, "1.0.2": { "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": "https://registry.npmjs.org/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://travis-ci.org/vadimdemedes/convert-to-spaces.svg?branch=master)](https://travis-ci.org/vadimdemedes/convert-to-spaces)\n\n> Convert tabs to spaces in a string\n\n\n## Install\n\n```\n$ npm install --save convert-to-spaces\n```\n\n\n## Usage\n\n```js\nconst convertToSpaces = require('convert-to-spaces');\n\nconvertToSpaces('\\t\\thello!');\n//=> ' hello!'\n```\n\n\n## API\n\n### convertToSpaces(str, [spaces])\n\n#### str\n\nType: `string`\n\nSource string.\n\n#### spaces\n\nType: `number`
\nDefault: `2`\n\nNumber of spaces instead of each tab.\n\n\n## Related\n\n- [convert-to-tabs](https://github.com/vadimdemedes/convert-to-tabs) - Convert spaces to tabs.\n\n\n## License\n\nMIT © [Vadim Demedes](https://vadimdemedes.com)\n", "maintainers": [ { "name": "vdemedes", "email": "vdemedes@gmail.com" } ], "time": { "modified": "2017-02-23T20:15:48.271Z", "created": "2016-11-13T15:34:05.210Z", "1.0.0": "2016-11-13T15:34:05.210Z", "1.0.1": "2016-11-13T16:13:16.579Z", "1.0.2": "2017-02-23T20:15:48.271Z" }, "homepage": "https://github.com/vadimdemedes/convert-to-spaces#readme", "keywords": [ "tabs", "spaces" ], "repository": { "type": "git", "url": "git+https://github.com/vadimdemedes/convert-to-spaces.git" }, "author": { "name": "Vadim Demedes", "email": "vdemedes@gmail.com" }, "bugs": { "url": "https://github.com/vadimdemedes/convert-to-spaces/issues" }, "license": "MIT", "readmeFilename": "readme.md", "_attachments": {} }