{
  "_args": [
    [
      {
        "raw": "replace-string@2.0.0",
        "scope": null,
        "escapedName": "replace-string",
        "name": "replace-string",
        "rawSpec": "2.0.0",
        "spec": "2.0.0",
        "type": "version"
      },
      "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/supi"
    ]
  ],
  "_from": "replace-string@2.0.0",
  "_hasShrinkwrap": false,
  "_id": "replace-string@2.0.0",
  "_location": "/replace-string",
  "_nodeVersion": "10.12.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/replace-string_2.0.0_1539680854758_0.9229143704817409"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "6.4.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "replace-string@2.0.0",
    "scope": null,
    "escapedName": "replace-string",
    "name": "replace-string",
    "rawSpec": "2.0.0",
    "spec": "2.0.0",
    "type": "version"
  },
  "_requiredBy": [
    "/@pnpm/resolve-dependencies",
    "/supi"
  ],
  "_resolved": "https://registry.npmjs.org/replace-string/-/replace-string-2.0.0.tgz",
  "_shasum": "2ba068708a4a88672e93b83acdb9f865f9e323ef",
  "_shrinkwrap": null,
  "_spec": "replace-string@2.0.0",
  "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/supi",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/replace-string/issues"
  },
  "dependencies": {},
  "description": "Replace all substring matches in a string",
  "devDependencies": {
    "ava": "^0.25.0",
    "xo": "^0.23.0"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-e6cHLIPJeIReWRcKFXdGC2bVR9dC4Bdwf2LIhzefHNPNR5ob90LtopHVGisQmaYEVfEtB945lmTA8B+e2lMJvQ==",
    "shasum": "2ba068708a4a88672e93b83acdb9f865f9e323ef",
    "tarball": "https://registry.npmjs.org/replace-string/-/replace-string-2.0.0.tgz",
    "fileCount": 4,
    "unpackedSize": 4475,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxapXCRA9TVsSAnZWagAAIikP/0Rqh8HF2A3q1oGAre4g\nfC1Q7pSFS8AK2Y7aD9PpIpOTcilVWC5Tg2HpzwxVVzKZlDIs+BKJ8NvwXdqj\n7Cp4OrMXfIwD8JfMSMsneziR/9Wv4ACH+kaOa8221qenJHbTGRrbdvsPBX0J\ncguCuynWtDvEbVCZfWE+D6ij0hSDwIzqtI9pGRmTIv6B4qiZlz7iYXcwtfzh\n+gVRzCAGVSYQrwWQcBR/b9xrP1IkyY0u6ZMpepurccpQGOZdYmCgYDSvdR3c\nwD3zU8tKJtaUBWBUzenCSpis1i+1Jq9Wr/9dLbe5bO/XV4geGacORNDuvEB9\nLY/m7xo6hliC16rfajBNdL3JK7QXA25dz0gPcVKni6zJmXJ/7skvFMm9t5/0\nat+3AUpMGq0IXhiL0mNSZeMrn2TJxOGBIwGoXZZSjzyqe6r7czv6FPaVP/kc\niENVWd1gBmGIHDrh1OCzXUnFsIflyy5pwwUqcH0BbrjwwteeUPIGdQCU5Nxi\ncdS4DFHJ8fX271fvpeE15EkOYSYOSIMoQzQhNLIEmo/acFYJzd800tVSzvqN\nKLX/gwtfCVl9venug3hOBB7CIL3KbM1CG6s3NqlDC7lwQX3Z1P8yvwAQLs66\nBjZVbtrCUF3FZgE2HwMIE/5XNs72ZLtYjxFPv794dhwcPOpkHWvkDudg2E1H\nHez2\r\n=wUlx\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "4b67554beff2fde0938028cf20ead68dce87205f",
  "homepage": "https://github.com/sindresorhus/replace-string#readme",
  "keywords": [
    "replace",
    "string",
    "text",
    "all",
    "many",
    "multiple",
    "global",
    "match",
    "matches",
    "replacement",
    "replacer",
    "modify",
    "substring",
    "sub-string",
    "needle",
    "search"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "replace-string",
  "optionalDependencies": {},
  "readme": "# replace-string [![Build Status](https://travis-ci.org/sindresorhus/replace-string.svg?branch=master)](https://travis-ci.org/sindresorhus/replace-string)\n\n> Replace all substring matches in a string\n\nSimilar to `String#replace()`, but supports replacing multiple matches. You could achieve something similar by putting the string in a `RegExp` constructor with the global flag and passing it to `String#replace()`, but you would then have to first escape the string anyways.\n\n\n## Install\n\n```\n$ npm install replace-string\n```\n\n\n## Usage\n\n```js\nconst replaceString = require('replace-string');\n\nconst input = 'My friend has a 🐑. I want a 🐑 too!';\n\nreplaceString(input, '🐑', '🦄');\n//=> 'My friend has a 🦄. I want a 🦄 too!'\n```\n\n\n## API\n\n### replaceString(input, needle, replacement, [options])\n\nReturns a new string with all `needle` matches replaced with `replacement`.\n\n#### input\n\nType: `string`\n\nString to work on.\n\n#### needle\n\nType: `string`\n\nString to match in `input`.\n\n#### replacement\n\nType: `string` `Function`\n\nReplacement for `needle` matches.\n\nIf a function, it receives the following arguments; the `needle`, the match count, and the `input`:\n\n```js\nreplaceString('Foo 🐑 Bar', '🐑', (needle, matchCount, input, matchIndex) => `${needle}❤️`);\n//=> 'Foo 🐑❤️ Bar'\n```\n\n#### options\n\nType: `Object`\n\n##### fromIndex\n\nType: `number`<br>\nDefault: `0`\n\nIndex at which to start replacing.\n\n\n## Related\n\n- [execall](https://github.com/sindresorhus/execall) - Find multiple `RegExp` matches in a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/replace-string.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "2.0.0"
}
