batchreplace
v1.0.1
Published
Efficiently replace a batch of strings all at once
Downloads
5
Readme
batchreplace
Efficiently replace a batch of strings all at once
Install
$ npm install --save batchreplace
Usage
var batchreplace = require('batchreplace');
var replacer = batchreplace.mapReplacer({a: 1, b: 2});
console.log(replacer('a b c')); // '1 2 c'
License
MIT © Chris Danford