Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

remap

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 far

Installation

npm install --save baggo/remap

License

MIT

About

Replace each character of a string using a map

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages