spmock
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

spmock

A customizable spongemock npm module with CLI support.

Build Status Coverage Status npm version

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

Package Sidebar

Install

npm i spmock

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

44.4 kB

Total Files

17

Last publish

Collaborators

  • danielsmith4483