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