1.0.3 • Published 6 years ago
spmock v1.0.3
spmock
A customizable spongemock npm module with CLI support.
Installation
npm install spmock --save
or
yarn add spmock
Usage
For a given input string, the equivalent spongemock string can be generated. A bias
value and seed
can be provided to fine-tune spmock
's output.
const spmock = require('spmock');
console.log(spmock.spmock(`hello world`));
Expected output (varies):
hElLo wOrLd
Test
npm run test