Bit String Mask
Mask a string using bits from an input number.
Installation
npm install bit-string-mask --save
Usage
mask'test', 0 //=> "test"mask'test', 1 //=> "Test"mask'test', 2 //=> "tEst"
TypeScript
This project is written using TypeScript and publishes the definitions directly to NPM.
License
MIT