{
  "_id": "convert-to-spaces",
  "maintainers": [
    {
      "name": "vdemedes",
      "email": "vadimdemedes@hey.com"
    }
  ],
  "keywords": [
    "tabs",
    "spaces"
  ],
  "dist-tags": {
    "latest": "2.0.1"
  },
  "author": {
    "name": "Vadim Demedes",
    "email": "vdemedes@gmail.com"
  },
  "_rev": "8-f2188e7e338b134236d991333d9ad17f",
  "description": "Convert tabs to spaces in a string",
  "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",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vadimdemedes/convert-to-spaces.git"
  },
  "bugs": {
    "url": "https://github.com/vadimdemedes/convert-to-spaces/issues"
  },
  "license": "MIT",
  "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://archive.ito.gov.ir/npm/_packages/convert-to-spaces/-/convert-to-spaces-1.0.0.tgz",
        "integrity": "sha512-l1X262ZaWN5tnw/pZRP0kC2t3gNjpcRjKixNUF7bMXmFsv3Ki5F09dXsOV/+CuEfGfzZBBuAVb2n0ZCt5bM/hw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIAb1JqAk96qwS6VVwpyEZ4AiwwEyCqf6QwUTpl1eYnVuAiEA185dlSx5bSQDxzi0nb8f2e67f5G5Eq8enXVXTpqCRVg="
          }
        ]
      },
      "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://archive.ito.gov.ir/npm/_packages/convert-to-spaces/-/convert-to-spaces-1.0.1.tgz",
        "integrity": "sha512-XgKllIEeX8IrwoQWU5Tx60BG4UoW+BkE2d8IVWjZCA8gNNnsQbclv2357mPNvI4PHRLxC0b0sxrC5I5Y/RSy0w==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIHaP1LCAiS/8awiY436OEaKe5cD6hA4ZBDH/XxjG2/TMAiAG/fyEZAq+e3sG0tJ2tSuu7vPV6E3LA0m26QYFrctU2A=="
          }
        ]
      },
      "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://archive.ito.gov.ir/npm/_packages/convert-to-spaces/-/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="
          }
        ]
      },
      "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": {}
    },
    "2.0.0": {
      "name": "convert-to-spaces",
      "version": "2.0.0",
      "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"
      },
      "scripts": {
        "build": "tsc",
        "dev": "tsc --watch",
        "prepare": "npm run build",
        "pretest": "npm run build",
        "test": "xo && ava"
      },
      "type": "module",
      "exports": "./dist/index.js",
      "engines": {
        "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
      },
      "keywords": [
        "tabs",
        "spaces"
      ],
      "devDependencies": {
        "@sindresorhus/tsconfig": "^2.0.0",
        "@vdemedes/prettier-config": "^2.0.1",
        "ava": "^4.0.1",
        "prettier": "^2.5.1",
        "typescript": "^4.5.5",
        "xo": "^0.47.0"
      },
      "xo": {
        "prettier": true
      },
      "prettier": "@vdemedes/prettier-config",
      "gitHead": "44a3e9b4cb199bc970cade024afeba584d2198e2",
      "bugs": {
        "url": "https://github.com/vadimdemedes/convert-to-spaces/issues"
      },
      "homepage": "https://github.com/vadimdemedes/convert-to-spaces#readme",
      "_id": "convert-to-spaces@2.0.0",
      "_nodeVersion": "14.19.0",
      "_npmVersion": "6.14.16",
      "dist": {
        "integrity": "sha512-l/PzJmKYRMpHykwZKmf5IAmN2JBqotLT7UorIQceFm/hJa8LnZ0d0el1Bq8K2XQpSCp8BH/Fw8zAp4PhqdVRGA==",
        "shasum": "4f52b41a388f7a8b24a8e953b5742e01f20a3c6a",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/convert-to-spaces/-/convert-to-spaces-2.0.0.tgz",
        "fileCount": 5,
        "unpackedSize": 2930,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/5rbCRA9TVsSAnZWagAA/qEP/2WfYazlk+AnGa35dtAB\nAhYt5v8MFUaA4asopGxDn8nx3Ki7ymBDlzHNsXVaDfD19W3JlPhowYZbRMCf\nBudEhFDfdgB5LQ8STcn2nQ4IUaCVt3oiZaZ+KfAYZgOFAtBAzbt0QSYWkmks\n7oO2quS2w2ifIciCByEzPV7U3EpWiu2t5WtlZynyOKBcyKIS5oXEcwud/xNp\nmV5XRg/jjP1mY3OBIZwfRkEXIgL/7mlg6BJx2Q3XX/CAbgeDSvpraJVJiftr\nXs8ljOzL1G0uhritNzdjPfFY+ZnzjE0dOVlEkL4OnHUVXQKZuw564lr/Ug35\nC/UQz7R8NHyrfSaMVBucGLnWEHaA3VXQ3ToSv7din2L26CcRylsE+xz79d6h\ndK9lZr+RL0NMgrvxGdwoL0m5Z1yNfC+bcbUxlWqSWQsR+RHl//oZa6dZpT0q\nGozAJ5urjZNXfIEShBKQ3sI2XDmS+pEwLCD/Ocemw8HPyfAex/g7XriOLMuu\nPoI8PGarJqkzvv/IZEIGNhFCqJEdXHVRgFNpfR/PyHt6EXUEp+UbOzzNwbXS\nXq62maKHBKN+QpXGhAXRZyfJ9YtDz6TlWaz1u4MUBCvhLm0yKE6T5q/ABgEc\nDRxFGF+rOBfXn0mQqD3IrMXwgnEayeMquwjn/gkeWOLwK7ecbGkGNJXwu0ki\nu3Hx\r\n=potl\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIFnhWgXxtrbOdgdfp1Ex1i/RCs8GJUqqO57nXdF45LcqAiAqGpS7ZvhCk6MDE+3DVav5faFKkRNO0Ktef+EXW4engA=="
          }
        ]
      },
      "_npmUser": {
        "name": "vdemedes",
        "email": "vadimdemedes@hey.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "vdemedes",
          "email": "vadimdemedes@hey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/convert-to-spaces_2.0.0_1644141275614_0.2717193898117978"
      },
      "_hasShrinkwrap": false
    },
    "2.0.1": {
      "name": "convert-to-spaces",
      "version": "2.0.1",
      "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"
      },
      "scripts": {
        "build": "tsc",
        "dev": "tsc --watch",
        "prepare": "npm run build",
        "pretest": "npm run build",
        "test": "xo && ava"
      },
      "type": "module",
      "exports": "./dist/index.js",
      "types": "./dist/index.d.ts",
      "engines": {
        "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
      },
      "keywords": [
        "tabs",
        "spaces"
      ],
      "devDependencies": {
        "@sindresorhus/tsconfig": "^2.0.0",
        "@vdemedes/prettier-config": "^2.0.1",
        "ava": "^4.0.1",
        "prettier": "^2.5.1",
        "typescript": "^4.5.5",
        "xo": "^0.47.0"
      },
      "xo": {
        "prettier": true
      },
      "prettier": "@vdemedes/prettier-config",
      "gitHead": "b5a7cd59b07ee324efab85ce15f2a18ae08cc835",
      "bugs": {
        "url": "https://github.com/vadimdemedes/convert-to-spaces/issues"
      },
      "homepage": "https://github.com/vadimdemedes/convert-to-spaces#readme",
      "_id": "convert-to-spaces@2.0.1",
      "_nodeVersion": "14.19.0",
      "_npmVersion": "6.14.16",
      "dist": {
        "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==",
        "shasum": "61a6c98f8aa626c16b296b862a91412a33bceb6b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
        "fileCount": 5,
        "unpackedSize": 2962,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/51VCRA9TVsSAnZWagAAVAEQAJevScw6GrrhOAVfCSGn\nR7Tzk89w99100/1pbFBaZO9lNnV4gtBJbOZXrguUvoDRc6p4o9uHnGkapH/8\nT4N5MwaSptzLTjagcVKbJW3G5yjqQ3g+0Z9VYw5sE8Z/1BOW4/SbXxqARw6f\nI54bUzpWJowV5U1NasbvvslJcIT1CLQhfXxdtARtbmaxLHvJ3y8AylPTHjV8\nT+yBQ6/xm38yvCWoZBGacd3cv86d5UtUad0oPRQRL3vupkZ5iW2B+xHD+ZBs\nEQXLlw3vOrN3ks5uXpkdmKUnNbfxDLfD5RZkazwYhOvzVM/NH28Tf4J1eQ7T\nke0qoNlykvMsSdVz5d4czY7Pu/tf038TMPWzKtyWdrEEtO3Tr1lhbuOg/w/R\noZUcCqwAE+EXk+VDEkk+NTXS1GnHUxzGHenb4MF6lle2FB29OQ1t3OWosFEk\nR/AHwc0Sk/hyoSUcZA2ZZoEAL3JmDJejVXKxHCtaW7B+IFRFWdVt0e4RkQGS\nsW8rmoPBnKR5tzPBym69jRDHZXIy+WEICh/hZ7vetpuOkg5pxAx6LJYw/4qx\niO/mQ3lSXLrZWZyRtma9oIj/qRdH+7neSs7zdXGChxfjY4Dv0oWpzI174PX4\nwO1vDWIjydEle6jx31bX+JlvYpEgeI1wUJHj9ei57hxGOmkMawH7Xi1IFmO6\nbpDF\r\n=GXAx\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDouJbQUspl9FQqcnm9qLDdhFy81gSXftl0S63+Vu47SgIgc+3cm4Md9ZZ4Bde30ps9v0kwnp6FlEcjWuNYX4hNhwg="
          }
        ]
      },
      "_npmUser": {
        "name": "vdemedes",
        "email": "vadimdemedes@hey.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "vdemedes",
          "email": "vadimdemedes@hey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/convert-to-spaces_2.0.1_1644141909358_0.9841680177265539"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "convert-to-spaces",
  "time": {
    "modified": "2026-06-07T06:16:07.205Z",
    "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",
    "2.0.0": "2022-02-06T09:54:35.778Z",
    "2.0.1": "2022-02-06T10:05:09.499Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/vadimdemedes/convert-to-spaces#readme"
}