jurischain-module module is a JavaScript library for dealing with Jurischain as CJS module.
Use the package manager npm to install jurischain-module.
npm install --save-dev jurischain-module
const { solve: jurischain } = require('jurischain-module')
jurischain({
seed: 'seed-xpto'
difficulty: 10
}).then((solution) => console.log(solution))
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.