{"_id":"find-replace","_rev":"22-d078c356ab9c069fa255b243b995b1c1","name":"find-replace","dist-tags":{"latest":"5.0.2"},"versions":{"0.0.0":{"name":"find-replace","version":"0.0.0","keywords":[],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@0.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"bin":{"find-replace":"bin/cli.js"},"dist":{"shasum":"3d9bba2ef6220b0185702dad245e5ef09c3a0e98","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-0.0.0.tgz","integrity":"sha512-vhRO+vImu4AZkV5ZNFMYpy8oZEhHTLJ0VmZs54S8MU/gnhbD0+Of10UjbAvfjMvFPW4/t/7TjGz1I2DdugI7Og==","signatures":[{"sig":"MEUCIQD9YbU/SsKDEZEI2setlOnunicR153VOysceI4dGKf+AgIgIuJ/tBjb0JBM1g9vNaF8tLGDpdtLMOVOJ2zPa83QyM8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"3d9bba2ef6220b0185702dad245e5ef09c3a0e98","engines":{"node":">=0.10.0"},"scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","lint":"jshint lib/*.js bin/*.js test/*.js; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"2.12.0","description":"find-replace","directories":{},"_nodeVersion":"0.12.5"},"0.1.0":{"name":"find-replace","version":"0.1.0","keywords":["find","replace","array"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@0.1.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"4db618a679a0d5c03c1855aa06044ef60eb875b4","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-0.1.0.tgz","integrity":"sha512-/dZdhFUzlECtoG+DBTZKbC7n79ktIBGuR94rAXDSnXiTjMDsCH4nGvWOuX/5Uh1O1xPQP2mKTHdwiGj28GVxUg==","signatures":[{"sig":"MEUCIQCjykl7EtayXyxDSdedqxEDeVPlNhMbXmjZG4TRYc3dcAIgI3Kb5x11vXUlLD3RjT9piBxL5HL68GZiB/u/49n/2kg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"4db618a679a0d5c03c1855aa06044ef60eb875b4","engines":{"node":">=0.10.0"},"gitHead":"c2b48847c646ffe0941c99aff670c92273c79ec9","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"2.12.0","description":"Find and replace items of an array","directories":{},"_nodeVersion":"0.12.5","dependencies":{"typical":"^2.2.0","array-back":"^1.0.1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"}},"0.2.0":{"name":"find-replace","version":"0.2.0","keywords":["find","replace","array"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@0.2.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"47800f4e09b90e547d3197dae1a68a15226cea9a","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-0.2.0.tgz","integrity":"sha512-uGTyv8u1ga5NPXg4Ouk67tQgig7V/i7P2jQgXDJAXTTgppHVcZJE9JD3dhfqPRPXSe8bbmirCxmS0q/32+ahKw==","signatures":[{"sig":"MEUCIQDDjC8oFdseT1E5dBB9MWY7KAky9pdcg5i6EodxqVajhgIgFPKGP5dkvNoUrcIQDO0Sm24u3oZ4YiicwTzq2X7/VhM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"47800f4e09b90e547d3197dae1a68a15226cea9a","engines":{"node":">=0.10.0"},"gitHead":"962307d6e9025ba23502166a68516fa3dde63ab0","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"2.12.0","description":"Find and replace items of an array","directories":{},"_nodeVersion":"0.12.5","dependencies":{"typical":"^2.2.0","array-back":"^1.0.1"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"}},"0.2.1":{"name":"find-replace","version":"0.2.1","keywords":["find","replace","array"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@0.2.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"de905b2f0556b714cf5b7cbfef0fe4862cac126c","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-0.2.1.tgz","integrity":"sha512-Fx+mxfOvhA5dl/dOkZ+voLAdPBWfg6Lyv0rOzBszq5JYMVlwzI0M1dYGbynaLC9IN108VuA69vO3MU2bjXe2fg==","signatures":[{"sig":"MEUCIQDz6TjvryCwq22wLKntvseb86nVsokTUgEWCgss1md1jAIgLJa2gT3SDWcQlAA9WuRdXm4qlOI8d+Gtm9E03Q8NZS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"de905b2f0556b714cf5b7cbfef0fe4862cac126c","engines":{"node":">=0.10.0"},"gitHead":"155adce1f80cc12f69916d9a91766321eee5f821","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"2.12.0","description":"Find and replace items of an array","directories":{},"_nodeVersion":"0.12.5","dependencies":{"typical":"^2.2.0","array-back":"^1.0.1","test-value":"^1.0.0"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"}},"1.0.0":{"name":"find-replace","version":"1.0.0","keywords":["find","replace","array"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@1.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"299a287d94817248855444351d05c898d5087a40","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-1.0.0.tgz","integrity":"sha512-zHgiba2DlTIQFty6b2XyHTkrpXxhXrNztkUkxjnYLe0ijXVeup4rB1WwSHNfq51k4iKsuqIYHLTvicVTEO1kzw==","signatures":[{"sig":"MEYCIQDoQxuqKwbUUIrXh8vxffHppchqA2tzeeBnW91w4/8/LQIhALExLrVktUJW3IZaWYhwyty8WihJ5wSir0mke7gROrwz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"299a287d94817248855444351d05c898d5087a40","engines":{"node":">=0.10.0"},"gitHead":"3af3acc1d2814649d670b7764cd697207d1a726e","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"2.12.0","description":"Find and replace items of an array","directories":{},"_nodeVersion":"0.12.5","dependencies":{"typical":"^2.2.0","array-back":"^1.0.1","test-value":"^1.0.0"},"devDependencies":{"tape":"^4.0.0","jsdoc-to-markdown":"^1.1.1"}},"1.0.1":{"name":"find-replace","version":"1.0.1","keywords":["find","replace","array"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@1.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"704cd974c1c0a41f268e91b29786fe2b544ebcac","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-1.0.1.tgz","integrity":"sha512-qons58dBiGtKopzFYy0zzY/dwxehmCXJRbI6FlCzvyGTs0wonYzQ5mSgmEptVuHywnRwMx/D9kn7jExf/gNL6g==","signatures":[{"sig":"MEYCIQCgqPj/UnvboLXCI6szsU+QWozrzVU2Qv00pr/ThCE2SgIhANtXS9Iicril8jm9DFr2tiIn9Yz3UBoe5zOqasgm4ks2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"704cd974c1c0a41f268e91b29786fe2b544ebcac","engines":{"node":">=0.10.0"},"gitHead":"59de0d9aab075e2f6911c2bede9ef17accae927b","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"3.7.2","description":"Find and replace items of an array","directories":{},"_nodeVersion":"5.6.0","dependencies":{"array-back":"^1.0.2","test-value":"^1.0.1"},"devDependencies":{"tape":"^4.4.0","jsdoc-to-markdown":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/find-replace-1.0.1.tgz_1455443706753_0.3175148796290159","host":"packages-9-west.internal.npmjs.com"}},"1.0.2":{"name":"find-replace","version":"1.0.2","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@1.0.2","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"a2d6ce740d15f0d92b1b26763e2ce9c0e361fd98","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-1.0.2.tgz","integrity":"sha512-kbvD+pEjqZZ6VTUT3U5QicrA3zqtCoyEinhaNm+ag4fpCb/NfVNnL7L5vI9fCmuhwReoUF+EP6MBDJsMo41SpQ==","signatures":[{"sig":"MEQCIBCA66QzXIR+O1tBnHRYxIY7wJggCmTC5YDHB3A82wyHAiABqPQahURWhrp2/6QJ6w+oFclExh90pqK1m9k5DDlX4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"a2d6ce740d15f0d92b1b26763e2ce9c0e361fd98","engines":{"node":">=0.10.0"},"gitHead":"39236e40b8d1e710d5ea7c7692f8884ce81dc3ac","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"tape test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"3.8.2","description":"Find and either replace or remove items from an array","directories":{},"_nodeVersion":"5.8.0","dependencies":{"array-back":"^1.0.2","test-value":"^2.0.0"},"devDependencies":{"tape":"^4.5.1","jsdoc-to-markdown":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/find-replace-1.0.2.tgz_1458408771428_0.38012153864838183","host":"packages-13-west.internal.npmjs.com"}},"1.0.3":{"name":"find-replace","version":"1.0.3","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@1.0.3","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"b88e7364d2d9c959559f388c66670d6130441fa0","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-1.0.3.tgz","integrity":"sha512-KrUnjzDCD9426YnCP56zGYy/eieTnhtK6Vn++j+JJzmlsWWwEkDnsyVF575spT6HJ6Ow9tlbT3TQTDsa+O4UWA==","signatures":[{"sig":"MEQCIAwvKC32Pmg35mPJgDdux1rdQ5AdBQZdxYinPdnMzFFxAiAcIGw4jTcRcln6Jdcqah/Wgd0pkTF1YOQPP4fRtWl9qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","_from":".","_shasum":"b88e7364d2d9c959559f388c66670d6130441fa0","engines":{"node":">=4.0.0"},"gitHead":"a13af9d636641b2e8d5fae7132d112e392aa60bd","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"4.0.5","description":"Find and either replace or remove items from an array","directories":{},"_nodeVersion":"7.4.0","dependencies":{"array-back":"^1.0.4","test-value":"^2.1.0"},"devDependencies":{"test-runner":"^0.3.0","jsdoc-to-markdown":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/find-replace-1.0.3.tgz_1485512234669_0.6148916652891785","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"find-replace","version":"2.0.0","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@2.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"b4a15acfa8e4a0c2ff9b0b0c7e1d6e358ee2a014","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-2.0.0.tgz","integrity":"sha512-YrTtCM8HCJezkZM2DUxTlFN4jYATdZKufqeUovLVxtm5TDimXC+0lxBq4lkj/gsvhsJhzqJP7eWfZBpIW7dmUQ==","signatures":[{"sig":"MEUCIHngP2rSMwRxcFElFQ2r0LcX00PkgEyRa1O/Yfn4kBpSAiEA1lLgoPtSmoQeRcjIv8aeuNHpuurN0SjyDWuVCHLWH+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","engines":{"node":">=4.0.0"},"gitHead":"4469d7b839205f8b3f3c0e9fb55adf28a8e14cbb","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"5.5.1","description":"Find and either replace or remove items from an array","directories":{},"_nodeVersion":"8.9.1","dependencies":{"array-back":"^2.0.0","test-value":"^2.1.0"},"devDependencies":{"test-runner":"^0.4.1","jsdoc-to-markdown":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/find-replace-2.0.0.tgz_1512515108212_0.4875211154576391","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"find-replace","version":"2.0.1","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@2.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"6d9683a7ca20f8f9aabeabad07e4e2580f528550","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-2.0.1.tgz","integrity":"sha512-LzDo3Fpa30FLIBsh6DCDnMN1KW2g4QKkqKmejlImgWY67dDFPX/x9Kh/op/GK522DchQXEvDi/wD48HKW49XOQ==","signatures":[{"sig":"MEUCIQDupo/AISkShxJ+LhI7VDDb9vN/H5eqa6JSSxTttvd45QIgXWcBCXB9u+lqSLncwwJIWNzdOlp6csPhc1KkwmtdojA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/find-replace.js","engines":{"node":">=4.0.0"},"gitHead":"b4d09c7c0841792833a5835a9224e92b5c0c0d53","scripts":{"docs":"jsdoc2md -t jsdoc2md/README.hbs lib/*.js > README.md; echo","test":"test-runner test/*.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"5.5.1","description":"Find and either replace or remove items from an array","directories":{},"_nodeVersion":"8.9.1","dependencies":{"array-back":"^2.0.0","test-value":"^3.0.0"},"devDependencies":{"test-runner":"^0.4.1","jsdoc-to-markdown":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/find-replace-2.0.1.tgz_1512515730936_0.24133315565995872","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"find-replace","version":"3.0.0","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@3.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"3e7e23d3b05167a76f770c9fbd5258b0def68c38","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz","fileCount":7,"integrity":"sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==","signatures":[{"sig":"MEUCIA09C6gFCtFZ22FWRO8yH6UQ0AMZD1uZD2v78foeDI1RAiEAk0cj+MyRQhxRI79H0cndD5gvtA6LDY0E5RH8d/JVWjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclW3cCRA9TVsSAnZWagAAROUP/iQt+MuCbFeXuY8fURQ5\nsKYVB7HqEoWs8e7A24qv+D064Lrz0KyzS/C1Lc2AjijOT/Ojl6XLsHHgUj0c\ny3dCq/5TOsqfiu8K14C0wo9FYw9EdKV1eKzjHmPa4FNG6aFj20djxygCZxUp\nkTL4IQYqieLQea6OH8ZGkuifX2SmfvU76VAUsWxu5Kdys0k1+rt+u/2f86yx\n0ayo1s5ap6Yg3wH6ef2CB3Aghh9ngcvjzQiZzNuFvt+fstkvHkX+dlSyHDAq\ngCNnT6minFZYewOJ3p8fRIVn/ruMOm/MPRxQ8iI82UCACwF9KkMxq7/7IEy9\nKGDvh4+ZMP4bXgMAWEC9mjAkHuGLOwoRbqXN4QsN1FA+KkyBu2lqbfrlP4hY\nFn9go7HicmMb61NLfUewEhyROqCmavh68Yats2WyEgHMEVrVEK35lmDR7tMC\nyqWH8gYNhujAq97PtM65MrWFJhWx2h/64xgYwuxxb+7LijLUI4BafI6lLgvH\nDTGBa5vUMhM91a2Cq9ReUBrHshEHLqvRwzBu/dhrTzbIghbCN1+TGOme8O1/\nbfpCeWBtU+ZhEzdrQA9vPLHP+y3TYKhXLe1RvbLuouBSGP5pjPHbkurjMSR+\n1Te+/uSvqiq1C8HvY4KIl1hHg76/WSD8D8XRrCunNWAxay4R5HOx64jYjJYP\nsEK/\r\n=rhWo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=4.0.0"},"gitHead":"425934e672b9492ce97683d77884dcd6a46608bf","scripts":{"dist":"rollup index.mjs -f umd -n findReplace -o dist/index.js && rollup index.mjs -f esm -o dist/index.mjs","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md; echo","test":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"6.7.0","description":"Find and either replace or remove items in an array","directories":{},"_nodeVersion":"11.12.0","dependencies":{"array-back":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^1.7.0","test-runner":"^0.5.1","jsdoc-to-markdown":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/find-replace_3.0.0_1553296859765_0.7589419632802163","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"find-replace","version":"4.0.0","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@4.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"31364804813c454aa1b1cd9282c964de0291b077","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-4.0.0.tgz","fileCount":7,"integrity":"sha512-oTXVqeAJ7cuaqmkeNKekO0iUD3CUjGP1x+RYl6/QWspaz2Dd3Ro/1JZG6C4EUiH8ypWMufHSCb5fOEwdWIk0mQ==","signatures":[{"sig":"MEUCIAKa0c/6jl57RnSnOSSK8vTy+zTwoRlhyvkTvt01Y51yAiEAzcCkZ3MWF8SqUtwR8bxBmHkcJlD018afZJ0JCCJuaCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd83NACRA9TVsSAnZWagAAh0gP/AhKZEmtIV4htmgxPOY+\n1udCo5UqEl/Txbfa7uEbDFq1GAqLiuO0lfXk3SGkVFgiBkATG+qPOk3/WnpR\nRYqqwl6kaawp6qhlitl6WB+7YpRJZ5LS9rppVcBrE0iiKn6p/qsNdaLHUxnh\nlsqAf14joY2912hHXLJmW7BiklD2dDay05xNU3LYXhUwyvTac0NGkD/39kIM\nOBboBnPytVUICbChZaKmD8lGKI2zwvCOv1ISpPJt/El6uBYpw+OQPL4yC4Ln\nRztknGXF2t5oKkjB9YYAL4aTmoTaStaVuGfoi+ZZTHc1fZi+mNKlmeirPxiC\nJjftliYTKKqAjbuVR0Iqz671HMGw6r4jn39QHGnrNjl2o7MIMEguWK4Z5eZ7\nbmUjL7bZxizK/Iii+518QmMnTNF/T/pHU3+Kp0/2/lkVgdc2qLU0HMrtDzGD\nr2ejNJhrgVhSida9r4kp7w15wXmRMkWhM+a/sENWzz7Z7S5cltzPthMZLd46\nJbkuKNd8usWQs+54t10qUbjGzIS1ktPLMs1jJ6bGdpjslKbtCPv/5vGri4A+\ndYSKPd/nFzPziSTsszc/5GgtXhLii51mqxE588opGKabFCDgiPhmslumNdb0\naDgbCem9oMFxhgEl6wH/JI0VFBX4LdLuOM7b7g7og8KKzli8Ifdzvf1f9DmA\nnmuU\r\n=h1N/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"index.mjs","engines":{"node":">=10"},"gitHead":"868fa5c7e19699ef608707f9a885af6b49193305","scripts":{"dist":"rollup -c","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","test":"npm run dist && esm-runner test.mjs && web-runner test.mjs"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"6.13.4","description":"Replace or remove multiple items in an array.","directories":{},"_nodeVersion":"13.3.0","dependencies":{"array-back":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^1.27.12","esm-runner":"^0.3.4","@test-runner/web":"^0.3.3","isomorphic-assert":"^0.1.1","jsdoc-to-markdown":"^5.0.3","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/find-replace_4.0.0_1576235840146_0.4145213451293033","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"find-replace","version":"4.0.1","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@4.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"075833459d3e7d32badcada355db19b6d9216c6a","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-4.0.1.tgz","fileCount":7,"integrity":"sha512-JpqnNRzJk9TAF7Xun1f7uv5nyywi/efdD9kd5m/nhJFEEHK7OA/IAY3HWOTAP8xu4SIw/Py7emv+3XxTD26e7Q==","signatures":[{"sig":"MEYCIQCcjtJ7Ey6UDhH6DmvHfwqKFlTYoL4Ze2+0M8JIjHCMSQIhAPTieWWmBxp9t+klHXvzKnqut0mrR3ZJZt6jBMF3yZ9l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoaTWCRA9TVsSAnZWagAAalMP/j//7D5fl3nqtp/FpYvx\nAfVDoFMWjaz3SSELM3KNReR1xko6flpeAbttaEuyAt5GLL+yBSuoae+j5IbF\nqLLOpX7hWkLJnKApi6E73/5ccZSZi9Y5w6O6a2bRYUFQSQC7ZfKgbO2I12k3\ndESLJpD4tlH6x7tT8iYwb9sk4cNwv5h6UfEv6kQwzQH4slHtuJbrkssjQqYS\n+P2AqIqaFzRdw/6YtiiBK0IwdWXwgdzbAJfbpGTVsETzgdYi35/vPESBe6A4\nnxlcViQk8RbrW0iMH0X8JKV1szvie63cmmld0wySPWcs+8UiLOTrv7rdXwQw\nPrDxX96Kem3Dz6qMyKTu9LnOrCqR2DZBGhGxtWQawaoP90IrqOBew3ZWeD67\n0zpiM43pN/owT68NThqBAN28yYqcu0H9CmVB4SuOQm0v/q44ycFt8aUISKS1\nkGQpz/4pdllhWl50T9lta+cg3TVyQcEfRT1Ru5jKmSo9PItAScBxaSU450VC\nBBnrcKU7slygDWYUywFG/OelY09snGkbDZdvmPWy/cWWrZLA0R7UsQa6km9M\nmmA4689pX0g+yJIUfsTB/553k9434D5xhZceGQiOU5GJXuMrdO7lz5mayxf7\n5gt8OGGqpv8NLr8dmmBNUPJTAETlrksIsm2sUK4QVbm1zDsuIcTC+pdFXyH4\n4yW9\r\n=szqM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"index.mjs","engines":{"node":">=10"},"gitHead":"dde0c6df1c6cb545d298ae1506c0588bd9ef5670","scripts":{"dist":"rollup -c","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","test":"npm run dist && esm-runner test.mjs && web-runner test.mjs"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"6.14.4","description":"Replace or remove multiple items in an array.","directories":{},"_nodeVersion":"13.13.0","dependencies":{"array-back":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.7.2","esm-runner":"^0.3.4","@test-runner/web":"^0.3.4","isomorphic-assert":"^0.1.1","jsdoc-to-markdown":"^5.0.3","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/find-replace_4.0.1_1587651797603_0.34861782971170574","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"find-replace","version":"5.0.0","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@5.0.0","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"fe2ab6c557401004820f7dc0bd00d107574d6341","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-5.0.0.tgz","fileCount":8,"integrity":"sha512-tCXiqMDFJ4YOchkJ8ObwyG8FNRYKZ4wtNiW0RFWK306qrvo37uQ8Bs96MNimOsK2lH09Y4yPFjql/R8TqW4Udg==","signatures":[{"sig":"MEUCIBGR5ZBBgTH170a4zNTbYGvy6wX4wLTdmlXzSW8I2jFSAiEAnvLKxF2Fmc4CdVeP09MwwICQ0vesjFFFbuvPUS5jRCM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1lPfCRA9TVsSAnZWagAAHwgP/0lNBEL/TdVaf91+Mi5v\nhMJITlkfApAGQYxAveZ16+BYWYpTjGXuE3TQwmvIlubq/hYA2VfpYrFSvluK\nJXoN/Inb3RZH2OnuuMDtyXwfr6ojqUKPKewyNdYuK0i+YUJjOWlqJlpo/iix\nuOAavxm4ab7wK+tePpSrUJaeYU/at5gpImHi+GxCwxXOP/d/szzHyvu7xjw0\nG0NE+HeFgVe/04QhXmxOdsvpJNlwrPX8ki1YcK7r+YPtBPHE0TuuTtKjgFab\nC0QI9gcM0N+BiNp5+BzqgdokYeS/OeIvxX4sMZhpIJQmmT246qXm5sSSpgWT\nivAMBO6y2wYzd+FlynlF1hVhCk1DUOiFj17ltna5MBAukMEuUUEgABURN0Dk\njTxRTS/EaaRA8HuqaTDjStD0fnbHQ+EHe2+HnHRECnEn7lwt0TIzAW3X89EN\nsMATBwRJxdL7j0xDNY2A62UR5L6S1TO7OmhAo9MtJabytk6anq7j5F2ZvhUQ\n+sp4G/nbxzLmc64OoH6jXvawm2NOpO00FpV9qOkoNpW2LurCfTcU7xeePyU5\nrwzudvmd/LTIksD8I2X4sVIPShhs3gEsP/GjVaotfzAoH9aAj+/bnCWfOqcb\nSaeV7skMVnLG+UlCFiJjJPWx/+LmiXDTMrgVuPwGwq45ZAxw1tRaFarixv/g\nvxe2\r\n=jsL/\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=14"},"exports":{"import":"./index.mjs","require":"./dist/index.cjs"},"gitHead":"765afd8575899ee1c17735048dd7dc0ecea51e6f","scripts":{"dist":"rollup -c","docs":"jsdoc2md -c jsdoc.conf -t README.hbs index.mjs > README.md","test":"npm run dist && test-runner test.mjs"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"7.18.1","description":"Replace or remove multiple items in an array.","directories":{},"_nodeVersion":"16.4.0","dependencies":{"array-back":"^6.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.52.3","test-runner":"^0.9.2","@test-runner/web":"^0.3.5","isomorphic-assert":"^0.2.0","jsdoc-to-markdown":"^7.0.1","@rollup/plugin-node-resolve":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/find-replace_5.0.0_1624658910989_0.24127585626133818","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"find-replace","version":"5.0.1","keywords":["find","replace","array","remove","splice"],"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","_id":"find-replace@5.0.1","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"homepage":"https://github.com/75lb/find-replace#readme","bugs":{"url":"https://github.com/75lb/find-replace/issues"},"dist":{"shasum":"28bbcf985b5274f6edd5e087c1e4e26a08b0da21","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-5.0.1.tgz","fileCount":8,"integrity":"sha512-o5/Y8HrCNRuFF5rdNTkX8Vhv6kTFTV0t1zIoigwlCdbkA9qaapRzxvWPND2VvlFa9LBI05Q1i8ml/saMqkOJUQ==","signatures":[{"sig":"MEQCICmpkFOE4EmduBJLnTtaJTu6iJxLPKk7TmeIBgxsnT4QAiAZ4/Bu3c+NaH+LLH9ddVJCIzJ5j/fZH9HJpIlko2k9yw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicuM6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOmxAAoUSHajtlXA8hRBrNJgKOmVWR8XT1yFezKZ5e8z6PfVZmEPnC\r\nThj1r9iYP7Cy3u8jXzWlSXzduDZPTOxZfsv7mvCtsIecQ/Aq3v5TUugZvMvJ\r\nfjB2C/AqWZzvrBasDlyIEmwyDNtFNHcOBjmfOOUdHt9Pa3TZFgNXfwfKWUge\r\nF3+BEvUxlg9ip+HSuyjdWs9gPvENTDqFt3R9ZLhIKp2TfTz81+r7X8oVL7fV\r\nA566BY63pumqxs5X1lEpr/WAyIcpuvjxJmLKzzOfN41SGMFaa6UyAbdTBadW\r\nvT+TQnkpu04/icJdc6MtfcKQBPaUn5nb66iW3yxpUILcuR4/dzN/Z/drpLyu\r\nOHtmK+0nNQzraBrajU/nUuzC2Yi85DCc1lQAS05AAb8pMB9IIXEZ4/tyNpRy\r\nDn31qB/6snTyp8uCsG9FRnyXsvQYW5j7QxtPFy3xWwpLcqh1Hc/91SGn3k/i\r\nfTBKmEg/1vQI7Gky++qceAqeLayInlz4uYnXpC8GoggPCOBdEZa26X7jBCVY\r\nB+osJ5ntRW5Re2runxUrK2/BUMhArtsg2o89e0sdZAKgwK0lZHiSr5mv4pPD\r\noRXXkrQyAqoFh4hAvGANfjJfcm8MhuqJj4ldnfMneLX5IyUg1zTnnD5Whg6D\r\nWx/Av2QT4zd47JbX2mdu4LGTTj9brPfzclI=\r\n=fUeb\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=14"},"exports":{"import":"./index.js","require":"./dist/index.cjs"},"gitHead":"acdb243efaaa52fad585864b1262965b909b9d48","scripts":{"dist":"rollup -c","docs":"jsdoc2md -t README.hbs index.js > README.md","test":"npm run dist && npm run test:ci","test:ci":"test-runner test.js"},"_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"standard":{"ignore":["dist"]},"repository":{"url":"git+https://github.com/75lb/find-replace.git","type":"git"},"_npmVersion":"8.8.0","description":"Replace or remove multiple items in an array.","directories":{},"_nodeVersion":"18.0.0","dependencies":{"array-back":"^6.2.2"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^2.71.1","test-runner":"^0.10.1","isomorphic-assert":"^1.0.0","jsdoc-to-markdown":"^7.1.1","@rollup/plugin-node-resolve":"^13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/find-replace_5.0.1_1651696442308_0.009525835008527439","host":"s3://npm-registry-packages"}},"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":{"integrity":"sha512-Y45BAiE3mz2QsrN2fb5QEtO4qb44NcS7en/0y9PEVsg351HsLeVclP8QPMH79Le9sH3rs5RSwJu99W0WPZO43Q==","shasum":"fe27ff0be05975aef6fc679c1139bbabea564e26","tarball":"https://registry.npmjs.org/find-replace/-/find-replace-5.0.2.tgz","fileCount":8,"unpackedSize":16717,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ2Qz9fWcQEnFj2mwfuUkUQCNxs9ndUHn78EUOJDRyjwIhAJkfD8m2IiBHg5T4FolsHZzdi+48Oi8uhKZkQLNx5WaU"}]},"_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}},"time":{"created":"2015-07-01T09:02:01.508Z","modified":"2024-09-17T00:14:42.118Z","0.0.0":"2015-07-01T09:02:01.508Z","0.1.0":"2015-07-01T22:26:23.395Z","0.2.0":"2015-07-02T12:10:50.366Z","0.2.1":"2015-07-10T22:06:43.695Z","1.0.0":"2015-07-10T22:18:06.606Z","1.0.1":"2016-02-14T09:55:10.644Z","1.0.2":"2016-03-19T17:32:53.942Z","1.0.3":"2017-01-27T10:17:15.348Z","2.0.0":"2017-12-05T23:05:09.191Z","2.0.1":"2017-12-05T23:15:31.777Z","3.0.0":"2019-03-22T23:20:59.908Z","4.0.0":"2019-12-13T11:17:20.258Z","4.0.1":"2020-04-23T14:23:17.814Z","5.0.0":"2021-06-25T22:08:31.208Z","5.0.1":"2022-05-04T20:34:02.474Z","5.0.2":"2024-09-17T00:14:41.916Z"},"bugs":{"url":"https://github.com/75lb/find-replace/issues"},"author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"license":"MIT","homepage":"https://github.com/75lb/find-replace#readme","keywords":["find","replace","array","remove","splice"],"repository":{"type":"git","url":"git+https://github.com/75lb/find-replace.git"},"description":"Replace or remove multiple items in an array.","maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"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","readmeFilename":"README.md","users":{"iusfof":true}}