{"_id":"replaceall","_rev":"252394","name":"replaceall","description":"Replace all instances in a JavaScript string","dist-tags":{"latest":"0.1.6"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"time":{"modified":"2021-06-03T16:15:59.000Z","created":"2014-01-10T16:41:04.815Z","0.1.6":"2015-04-23T13:23:56.554Z","0.1.5":"2015-02-19T11:48:29.562Z","0.1.4":"2015-02-12T18:09:44.752Z","0.1.3":"2014-12-14T13:45:04.529Z","0.1.2":"2014-08-01T07:33:01.718Z","0.1.1":"2014-06-16T18:00:13.595Z","0.1.0":"2014-03-25T19:39:59.449Z","0.0.2":"2014-02-07T07:09:29.949Z","0.0.1":"2014-01-10T16:41:04.815Z"},"users":{"tcarlsen":true,"puranjayjain":true,"cain.chu":true},"author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"versions":{"0.1.6":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.6","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jasmine":"^0.8.2","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.9.1","grunt-contrib-watch":"^0.6.1"},"gitHead":"918535ed2489f8274ac1f5ce668d9034b314dbf2","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.6","_shasum":"81d81ac7aeb72d7f5c4942adf2697a3220688d8e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"dist":{"shasum":"81d81ac7aeb72d7f5c4942adf2697a3220688d8e","size":2107,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.6.tgz"},"directories":{},"publish_time":1429795436554,"_cnpm_publish_time":1429795436554,"_hasShrinkwrap":false},"0.1.5":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.5","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jasmine":"^0.8.2","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.8.0","grunt-contrib-watch":"^0.6.1"},"gitHead":"d336363b2ba03a7e8968f24d43b90bd43f21a6eb","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.5","_shasum":"2b7c551b6b2285c89ab5f8de1330d9dcac77021b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"dist":{"shasum":"2b7c551b6b2285c89ab5f8de1330d9dcac77021b","size":2103,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.5.tgz"},"directories":{},"publish_time":1424346509562,"_cnpm_publish_time":1424346509562,"_hasShrinkwrap":false},"0.1.4":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.4","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-jasmine":"^0.8.2","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.7.0","grunt-contrib-watch":"^0.6.1"},"gitHead":"57df5d248dc80e78957082bc0f35241679aa8670","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.4","_shasum":"1c2d37f48a68275818bb74419610d8376170709e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"dist":{"shasum":"1c2d37f48a68275818bb74419610d8376170709e","size":2098,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.4.tgz"},"directories":{},"publish_time":1423764584752,"_cnpm_publish_time":1423764584752,"_hasShrinkwrap":false},"0.1.3":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.3","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.x","grunt-contrib-jasmine":"~0.8.x","grunt-contrib-jshint":"~0.10.x","grunt-contrib-uglify":"~0.6.x","grunt-contrib-watch":"~0.6.x"},"gitHead":"fcd7a6d7ba693f08dc5a56659310f32b622d7abc","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.3","_shasum":"740378f979368010477a319814151ea061d4864d","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"dist":{"shasum":"740378f979368010477a319814151ea061d4864d","size":2098,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.3.tgz"},"directories":{},"publish_time":1418564704529,"_cnpm_publish_time":1418564704529,"_hasShrinkwrap":false},"0.1.2":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.2","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.x","grunt-contrib-jasmine":"~0.7.x","grunt-contrib-jshint":"~0.10.x","grunt-contrib-uglify":"~0.5.x","grunt-contrib-watch":"~0.6.x"},"gitHead":"597a3ef04916f03f62abe4311a696398fcc82b84","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.2","_shasum":"5b5fd7afba727ae665948d2685ae629081c9d4b2","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"dist":{"shasum":"5b5fd7afba727ae665948d2685ae629081c9d4b2","size":2222,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.2.tgz"},"directories":{},"publish_time":1406878381718,"_cnpm_publish_time":1406878381718,"_hasShrinkwrap":false},"0.1.1":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.1","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.x","grunt-cli":"~0.1.x","grunt-contrib-watch":"~0.6.x","grunt-contrib-jshint":"~0.10.x","grunt-contrib-jasmine":"~0.6.x","grunt-contrib-uglify":"~0.5.x"},"bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.1","dist":{"shasum":"899a1eca47d4e83b3f2d1dbdab0a88684f4bf96f","size":2219,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"directories":{},"publish_time":1402941613595,"_cnpm_publish_time":1402941613595,"_hasShrinkwrap":false},"0.1.0":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.1.0","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.6.x","grunt-contrib-watch":"~0.5.x","grunt-contrib-jshint":"~0.8.x","grunt-contrib-jasmine":"~0.6.x","grunt-contrib-uglify":"~0.4.x","grunt-cli":"~0.1.x"},"bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.1.0","dist":{"shasum":"fdc2d4cf6c71e68b09394731fd04d49b9a682b0a","size":2228,"noattachment":false,"key":"/replaceall/-/replaceall-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"directories":{},"publish_time":1395776399449,"_cnpm_publish_time":1395776399449,"_hasShrinkwrap":false},"0.0.2":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.0.2","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.6.x","grunt-contrib-watch":"~0.5.x","grunt-contrib-jshint":"~0.8.x","grunt-contrib-jasmine":"~0.6.x","grunt-contrib-uglify":"~0.3.x","grunt-cli":"~0.1.x"},"bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.0.2","dist":{"shasum":"b3c8939646a86b0448a2f187d0dc1d09b1cc67e1","size":2222,"noattachment":false,"key":"/replaceall/-/replaceall-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"directories":{},"publish_time":1391756969949,"_cnpm_publish_time":1391756969949,"_hasShrinkwrap":false},"0.0.1":{"name":"replaceall","author":{"name":"Lee Crossley","email":"leee@hotmail.co.uk","url":"http://ilee.co.uk/"},"description":"Replace all instances in a JavaScript string","homepage":"http://ilee.co.uk","version":"0.0.1","main":"replaceall.min.js","keywords":["replace","replaceall","replace all","string"],"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git@github.com:leecrossley/replaceall.git"},"engines":{"node":">= 0.8.x"},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.6.x","grunt-contrib-watch":"~0.5.x","grunt-contrib-jshint":"~0.8.x","grunt-contrib-jasmine":"~0.5.x","grunt-contrib-uglify":"~0.2.x","grunt-cli":"~0.1.x"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"},"_id":"replaceall@0.0.1","dist":{"shasum":"e5c56dbb92198d56a1d4fd9dd713b54b1abd3088","size":2217,"noattachment":false,"key":"/replaceall/-/replaceall-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/replaceall/download/replaceall-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.9","_npmUser":{"name":"leecrossley","email":"leee@hotmail.co.uk"},"maintainers":[{"name":"leecrossley","email":"leee@hotmail.co.uk"}],"directories":{},"publish_time":1389372064815,"_cnpm_publish_time":1389372064815,"_hasShrinkwrap":false}},"readme":"# replaceall [![Build Status](https://travis-ci.org/leecrossley/replaceall.png?branch=master)](https://travis-ci.org/leecrossley/replaceall) [![npm version](https://badge.fury.io/js/replaceall.png)](https://npmjs.org/package/replaceall) [![devDependency Status](https://david-dm.org/leecrossley/replaceall/dev-status.png)](https://david-dm.org/leecrossley/replaceall#info=devDependencies)\n\nReplace all instances in a JavaScript string.\n\n### Install with npm\n\n```\nnpm install replaceall\n```\n\nTo then include replaceall in your node app:\n\n```\nvar replaceall = require(\"replaceall\");\n```\n\n### Using replaceall\n\n```js\nvar result = replaceall(\"instances of this\", \"with this string\", \"in this string\");\n```\n\n### Example\n\n```js\nvar original = \"hello world goodbye world\";\n\nreplaceall(\"world\", \"everyone\", original);\n// \"hello everyone goodbye everyone\"\n\nreplaceall(\"l\", \"z\", original);\n// \"hezzo worzd goodbye worzd\"\n```\n\n## License\n\n[MIT License](http://ilee.mit-license.org)\n","_attachments":{},"homepage":"http://ilee.co.uk","bugs":{"url":"https://github.com/leecrossley/replaceall/issues"}}