Replace each character of a string using a map
constremap=require('remap')varchars={f: 't',b: 'f'}varvalue='foo bar'console.log(remap(chars)(value))// -> too farnpm install --save baggo/remapMIT
There was an error while loading. Please reload this page.