A customizable spongemock npm module with CLI support.
npm install spmock --save
or
yarn add spmock
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
npm run test