{"_id":"find-replace","_rev":"4087223","name":"find-replace","description":"Replace or remove multiple items in an array.","dist-tags":{"latest":"5.0.2"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"time":{"modified":"2025-12-02T22:11:50.000Z","created":"2015-07-01T09:02:01.508Z","5.0.2":"2024-09-17T00:14:41.916Z","5.0.1":"2022-05-04T20:34:02.474Z","5.0.0":"2021-06-25T22:08:31.208Z","4.0.1":"2020-04-23T14:23:17.814Z","4.0.0":"2019-12-13T11:17:20.258Z","3.0.0":"2019-03-22T23:20:59.908Z","2.0.1":"2017-12-05T23:15:31.777Z","2.0.0":"2017-12-05T23:05:09.191Z","1.0.3":"2017-01-27T10:17:15.348Z","1.0.2":"2016-03-19T17:32:53.942Z","1.0.1":"2016-02-14T09:55:10.644Z","1.0.0":"2015-07-10T22:18:06.606Z","0.2.1":"2015-07-10T22:06:43.695Z","0.2.0":"2015-07-02T12:10:50.366Z","0.1.0":"2015-07-01T22:26:23.395Z","0.0.0":"2015-07-01T09:02:01.508Z"},"users":{"preco21":true,"iusfof":true},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"versions":{"5.0.2":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.2","description":"Replace or remove multiple items in an array.","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["find","replace","array","remove","splice"],"engines":{"node":">=14"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"75lb-nature test-runner test.js","docs":"75lb-nature jsdoc2md -t README.hbs index.js > README.md","dist":"75lb-nature cjs-build index.js && 75lb-nature simple-rollup index.js"},"peerDependencies":{"@75lb/nature":"latest"},"peerDependenciesMeta":{"@75lb/nature":{"optional":true}},"standard":{"ignore":["dist"]},"_id":"find-replace@5.0.2","gitHead":"49a7b2a585532a4af897ab3cb421a3b70765d4f6","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"shasum":"fe27ff0be05975aef6fc679c1139bbabea564e26","size":3762,"noattachment":false,"key":"/find-replace/-/find-replace-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-5.0.2.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_5.0.2_1726532081744_0.7752432708430572"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-17T00:14:41.916Z","publish_time":1726532081916,"_source_registry_name":"default","_cnpm_publish_time":1726532081916},"5.0.1":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.1","description":"Replace or remove multiple items in an array.","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","type":"module","exports":{"import":"./index.js","require":"./dist/index.cjs"},"keywords":["find","replace","array","remove","splice"],"engines":{"node":">=14"},"scripts":{"test":"npm run dist && npm run test:ci","test:ci":"test-runner test.js","docs":"jsdoc2md -t README.hbs index.js > README.md","dist":"rollup -c"},"devDependencies":{"@rollup/plugin-node-resolve":"^13.3.0","isomorphic-assert":"^1.0.0","jsdoc-to-markdown":"^7.1.1","rollup":"^2.71.1","test-runner":"^0.10.1"},"dependencies":{"array-back":"^6.2.2"},"standard":{"ignore":["dist"]},"gitHead":"acdb243efaaa52fad585864b1262965b909b9d48","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@5.0.1","_nodeVersion":"18.0.0","_npmVersion":"8.8.0","dist":{"shasum":"28bbcf985b5274f6edd5e087c1e4e26a08b0da21","size":3812,"noattachment":false,"key":"/find-replace/-/find-replace-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-5.0.1.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_5.0.1_1651696442308_0.009525835008527439"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-04T20:48:16.047Z","publish_time":1651696442474,"_cnpm_publish_time":1651696442474},"5.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"5.0.0","description":"Replace or remove multiple items in an array.","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","exports":{"import":"./index.mjs","require":"./dist/index.cjs"},"keywords":["find","replace","array","remove","splice"],"engines":{"node":">=14"},"scripts":{"test":"npm run dist && test-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","dist":"rollup -c"},"devDependencies":{"@rollup/plugin-node-resolve":"^13.0.0","@test-runner/web":"^0.3.5","isomorphic-assert":"^0.2.0","jsdoc-to-markdown":"^7.0.1","rollup":"^2.52.3","test-runner":"^0.9.2"},"dependencies":{"array-back":"^6.0.1"},"standard":{"ignore":["dist"]},"gitHead":"765afd8575899ee1c17735048dd7dc0ecea51e6f","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@5.0.0","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"shasum":"fe2ab6c557401004820f7dc0bd00d107574d6341","size":3812,"noattachment":false,"key":"/find-replace/-/find-replace-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-5.0.0.tgz"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_5.0.0_1624658910989_0.24127585626133818"},"_hasShrinkwrap":false,"publish_time":1624658911208,"_cnpm_publish_time":1624658911208},"4.0.1":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.1","description":"Replace or remove multiple items in an array.","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"dist/index.js","module":"index.mjs","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=10"},"scripts":{"test":"npm run dist && esm-runner test.mjs && web-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","dist":"rollup -c"},"devDependencies":{"@test-runner/web":"^0.3.4","esm-runner":"^0.3.4","isomorphic-assert":"^0.1.1","jsdoc-to-markdown":"^5.0.3","rollup":"^2.7.2","rollup-plugin-node-resolve":"^5.2.0"},"dependencies":{"array-back":"^4.0.1"},"standard":{"ignore":["dist"]},"gitHead":"dde0c6df1c6cb545d298ae1506c0588bd9ef5670","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@4.0.1","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"shasum":"075833459d3e7d32badcada355db19b6d9216c6a","size":3727,"noattachment":false,"key":"/find-replace/-/find-replace-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-4.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_4.0.1_1587651797603_0.34861782971170574"},"_hasShrinkwrap":false,"publish_time":1587651797814,"_cnpm_publish_time":1587651797814},"4.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"4.0.0","description":"Replace or remove multiple items in an array.","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"dist/index.js","module":"index.mjs","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=10"},"scripts":{"test":"npm run dist && esm-runner test.mjs && web-runner test.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","dist":"rollup -c"},"devDependencies":{"@test-runner/web":"^0.3.3","esm-runner":"^0.3.4","isomorphic-assert":"^0.1.1","jsdoc-to-markdown":"^5.0.3","rollup":"^1.27.12","rollup-plugin-node-resolve":"^5.2.0"},"dependencies":{"array-back":"^4.0.1"},"standard":{"ignore":["dist"]},"gitHead":"868fa5c7e19699ef608707f9a885af6b49193305","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@4.0.0","_nodeVersion":"13.3.0","_npmVersion":"6.13.4","dist":{"shasum":"31364804813c454aa1b1cd9282c964de0291b077","size":3318,"noattachment":false,"key":"/find-replace/-/find-replace-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-4.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_4.0.0_1576235840146_0.4145213451293033"},"_hasShrinkwrap":false,"publish_time":1576235840258,"_cnpm_publish_time":1576235840258},"3.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"3.0.0","description":"Find and either replace or remove items in an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"dist/index.js","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test.js","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md; echo","dist":"rollup index.mjs -f umd -n findReplace -o dist/index.js && rollup index.mjs -f esm -o dist/index.mjs"},"devDependencies":{"jsdoc-to-markdown":"^4.0.1","rollup":"^1.7.0","test-runner":"^0.5.1"},"dependencies":{"array-back":"^3.0.1"},"gitHead":"425934e672b9492ce97683d77884dcd6a46608bf","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@3.0.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"3e7e23d3b05167a76f770c9fbd5258b0def68c38","size":3374,"noattachment":false,"key":"/find-replace/-/find-replace-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-3.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace_3.0.0_1553296859765_0.7589419632802163"},"_hasShrinkwrap":false,"publish_time":1553296859908,"_cnpm_publish_time":1553296859908},"2.0.1":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.1","description":"Find and either replace or remove items from an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^3.0.2","test-runner":"^0.4.1"},"dependencies":{"array-back":"^2.0.0","test-value":"^3.0.0"},"gitHead":"b4d09c7c0841792833a5835a9224e92b5c0c0d53","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@2.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"6d9683a7ca20f8f9aabeabad07e4e2580f528550","size":2700,"noattachment":false,"key":"/find-replace/-/find-replace-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-2.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace-2.0.1.tgz_1512515730936_0.24133315565995872"},"directories":{},"publish_time":1512515731777,"_hasShrinkwrap":false,"_cnpm_publish_time":1512515731777},"2.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"2.0.0","description":"Find and either replace or remove items from an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^3.0.2","test-runner":"^0.4.1"},"dependencies":{"array-back":"^2.0.0","test-value":"^2.1.0"},"gitHead":"4469d7b839205f8b3f3c0e9fb55adf28a8e14cbb","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"b4a15acfa8e4a0c2ff9b0b0c7e1d6e358ee2a014","size":2697,"noattachment":false,"key":"/find-replace/-/find-replace-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-2.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/find-replace-2.0.0.tgz_1512515108212_0.4875211154576391"},"directories":{},"publish_time":1512515109191,"_hasShrinkwrap":false,"_cnpm_publish_time":1512515109191},"1.0.3":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.3","description":"Find and either replace or remove items from an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=4.0.0"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^2.0.1","test-runner":"^0.3.0"},"dependencies":{"array-back":"^1.0.4","test-value":"^2.1.0"},"gitHead":"a13af9d636641b2e8d5fae7132d112e392aa60bd","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@1.0.3","_shasum":"b88e7364d2d9c959559f388c66670d6130441fa0","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"b88e7364d2d9c959559f388c66670d6130441fa0","size":2759,"noattachment":false,"key":"/find-replace/-/find-replace-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-1.0.3.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/find-replace-1.0.3.tgz_1485512234669_0.6148916652891785"},"directories":{},"publish_time":1485512235348,"_cnpm_publish_time":1485512235348,"_hasShrinkwrap":false},"1.0.2":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.2","description":"Find and either replace or remove items from an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array","remove","splice"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.3.3","tape":"^4.5.1"},"dependencies":{"array-back":"^1.0.2","test-value":"^2.0.0"},"gitHead":"39236e40b8d1e710d5ea7c7692f8884ce81dc3ac","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@1.0.2","_shasum":"a2d6ce740d15f0d92b1b26763e2ce9c0e361fd98","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.8.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"a2d6ce740d15f0d92b1b26763e2ce9c0e361fd98","size":2742,"noattachment":false,"key":"/find-replace/-/find-replace-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-1.0.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/find-replace-1.0.2.tgz_1458408771428_0.38012153864838183"},"directories":{},"publish_time":1458408773942,"_cnpm_publish_time":1458408773942,"_hasShrinkwrap":false},"1.0.1":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.1","description":"Find and replace items of an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.3.3","tape":"^4.4.0"},"dependencies":{"array-back":"^1.0.2","test-value":"^1.0.1"},"gitHead":"59de0d9aab075e2f6911c2bede9ef17accae927b","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@1.0.1","_shasum":"704cd974c1c0a41f268e91b29786fe2b544ebcac","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.6.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"704cd974c1c0a41f268e91b29786fe2b544ebcac","size":2600,"noattachment":false,"key":"/find-replace/-/find-replace-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-1.0.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/find-replace-1.0.1.tgz_1455443706753_0.3175148796290159"},"directories":{},"publish_time":1455443710644,"_cnpm_publish_time":1455443710644,"_hasShrinkwrap":false},"1.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"1.0.0","description":"Find and replace items of an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.0.0"},"dependencies":{"array-back":"^1.0.1","test-value":"^1.0.0","typical":"^2.2.0"},"gitHead":"3af3acc1d2814649d670b7764cd697207d1a726e","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@1.0.0","_shasum":"299a287d94817248855444351d05c898d5087a40","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"299a287d94817248855444351d05c898d5087a40","size":2834,"noattachment":false,"key":"/find-replace/-/find-replace-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-1.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1436566686606,"_cnpm_publish_time":1436566686606,"_hasShrinkwrap":false},"0.2.1":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.1","description":"Find and replace items of an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.0.0"},"dependencies":{"array-back":"^1.0.1","test-value":"^1.0.0","typical":"^2.2.0"},"gitHead":"155adce1f80cc12f69916d9a91766321eee5f821","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@0.2.1","_shasum":"de905b2f0556b714cf5b7cbfef0fe4862cac126c","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"de905b2f0556b714cf5b7cbfef0fe4862cac126c","size":2834,"noattachment":false,"key":"/find-replace/-/find-replace-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-0.2.1.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1436566003695,"_cnpm_publish_time":1436566003695,"_hasShrinkwrap":false},"0.2.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.2.0","description":"Find and replace items of an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.0.0"},"dependencies":{"array-back":"^1.0.1","typical":"^2.2.0"},"gitHead":"962307d6e9025ba23502166a68516fa3dde63ab0","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@0.2.0","_shasum":"47800f4e09b90e547d3197dae1a68a15226cea9a","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"47800f4e09b90e547d3197dae1a68a15226cea9a","size":2957,"noattachment":false,"key":"/find-replace/-/find-replace-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-0.2.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1435839050366,"_cnpm_publish_time":1435839050366,"_hasShrinkwrap":false},"0.1.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.1.0","description":"Find and replace items of an array","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","keywords":["find","replace","array"],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"devDependencies":{"jsdoc-to-markdown":"^1.1.1","tape":"^4.0.0"},"dependencies":{"array-back":"^1.0.1","typical":"^2.2.0"},"gitHead":"c2b48847c646ffe0941c99aff670c92273c79ec9","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@0.1.0","_shasum":"4db618a679a0d5c03c1855aa06044ef60eb875b4","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"4db618a679a0d5c03c1855aa06044ef60eb875b4","size":2784,"noattachment":false,"key":"/find-replace/-/find-replace-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-0.1.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1435789583395,"_cnpm_publish_time":1435789583395,"_hasShrinkwrap":false},"0.0.0":{"name":"find-replace","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.0.0","description":"find-replace","repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"license":"MIT","main":"./lib/find-replace.js","bin":{"find-replace":"bin/cli.js"},"keywords":[],"engines":{"node":">=0.10.0"},"scripts":{"test":"tape test/*.js","lint":"jshint lib/*.js bin/*.js test/*.js; echo","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo"},"bugs":{"url":"https://github.com/75lb/find-replace/issues"},"homepage":"https://github.com/75lb/find-replace#readme","_id":"find-replace@0.0.0","_shasum":"3d9bba2ef6220b0185702dad245e5ef09c3a0e98","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.5","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"shasum":"3d9bba2ef6220b0185702dad245e5ef09c3a0e98","size":1849,"noattachment":false,"key":"/find-replace/-/find-replace-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/find-replace/download/find-replace-0.0.0.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"publish_time":1435741321508,"_cnpm_publish_time":1435741321508,"_hasShrinkwrap":false}},"readme":"[![view on npm](https://badgen.net/npm/v/find-replace)](https://www.npmjs.org/package/find-replace)\n[![npm module downloads](https://badgen.net/npm/dt/find-replace)](https://www.npmjs.org/package/find-replace)\n[![Gihub repo dependents](https://badgen.net/github/dependents-repo/75lb/find-replace)](https://github.com/75lb/find-replace/network/dependents?dependent_type=REPOSITORY)\n[![Gihub package dependents](https://badgen.net/github/dependents-pkg/75lb/find-replace)](https://github.com/75lb/find-replace/network/dependents?dependent_type=PACKAGE)\n[![Node.js CI](https://github.com/75lb/find-replace/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/find-replace/actions/workflows/node.js.yml)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# find-replace\n\nReplace or remove multiple items in an array.\n\nSimilar to [array.prototype.splice()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice) with the following differences:\n\n* `splice` only operates on one item at a time requiring you to know its index. `find-replace` will operate on every item satisfying the find function.\n* If a function is passed as a `replaceWith` argument, `find-replace` will invoke it to compute the replacement value.\n\n## Synopsis\n\n```js\nimport findReplace from 'find-replace'\n\nconst colours = ['red', 'white', 'blue', 'white']\n\nconst result = findReplace(\n  colours,\n  colour => colour === 'white',\n  'gold'\n)\n\nconsole.log(result)\n// [ 'red', 'gold', 'blue', 'gold' ]\n```\n\nIf the `replaceWith` value is a function, it will be invoked with the found item and its result used as the replace value. For example:\n\n\n```js\nconst colours = ['red', 'white', 'blue', 'white']\n\nconst result = findReplace(\n  colours,\n  colour => colour === 'red',\n  colour => colour.split('')\n)\n\nconsole.log(result)\n// [ 'r', 'e', 'd', 'white', 'blue', 'white' ]\n```\n\n## Real world examples\n\n### Replace with an array of strings\n\nThis example explodes combined (`-vrf`) into individual flags (`-v -r -f`).\n\n```js\nimport findReplace from 'find-replace'\n\nconst argv = ['-vrf', 'file1.js', 'file2.js']\nconst combinedShortOptionRe = /^-[^\\d-]{2,}$/\n\nconst result = findReplace(\n  argv,\n  arg => combinedShortOptionRe.test(arg),\n  arg => {\n    return arg\n      .slice(1) /* remove initial hypen */\n      .split('')\n      .map(letter => '-' + letter)\n  }\n)\n\nconsole.log(result)\n```\n\nOutput:\n\n```\n$ node example/argv.mjs\n[ '-v', '-r', '-f', 'file1.js', 'file2.js' ]\n```\n\n### Delete found items\n\nIf you omit the third `replaceWith` argument, all found items will be deleted.\n\n```js\nimport findReplace from 'find-replace'\n\nconst fruits = ['apple', 'pear', 'nectarine', 'pineapple', 'peach']\nconst bad = ['pear', 'pineapple']\n\nconst result = findReplace(\n  fruits,\n  fruit => bad.includes(fruit)\n)\n\nconsole.log(result)\n```\n\nOutput:\n\n```\n$ node example/delete.mjs\n[ 'apple', 'nectarine', 'peach' ]\n```\n\n# API Reference\n\n<a name=\"module_find-replace\"></a>\n\n## find-replace\n<a name=\"exp_module_find-replace--findReplace\"></a>\n\n### findReplace(array, findFn, [...replaceWith]) ⇒ <code>array</code> ⏏\n**Kind**: Exported function  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| array | <code>array</code> | The input array |\n| findFn | <code>function</code> | A predicate function which, if returns `true` causes the current item to be operated on. |\n| [...replaceWith] | <code>any</code> | If not specified, each found value will be removed. If specified, each found value will be replaced with this value. If the `replaceWith` value is a function, it will be invoked with the found value and its result used as the replace value. If the `replaceWith` function returns an array, the found value will be replaced with each item in the array (not replaced with the array itself). |\n\n\n# Load anywhere\n\nThis library is compatible with Node.js, the Web and any style of module loader. It can be loaded anywhere, natively without transpilation.\n\nNode.js (CommonJS):\n\n```js\nconst findReplace = require('find-replace')\n```\n\nNode.js (ECMAScript Module):\n\n```js\nimport findReplace from 'find-replace'\n```\n\nModern browser (ECMAScript Module):\n\n```js\nimport findReplace from './node_modules/find-replace/dist/index.mjs'\n```\n\nOld browser (adds `window.findReplace`):\n\n```html\n<script nomodule src=\"./node_modules/find-replace/dist/index.js\"></script>\n```\n\n* * *\n\n&copy; 2015-25 Lloyd Brookes \\<75pound@gmail.com\\>.\n\nTest suite by [test-runner](https://github.com/test-runner-js/test-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","_attachments":{},"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"license":"MIT"}