node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



a wrapper that provides jsverify generator blessings for all of the chance.js methods.

This module simply transforms each method on chance to accept the appropriate options, and return a blessed generator.


import chansey from 'chansey'
import jsc     from 'jsverify'
export const Row = jsc.record({
  id     : chansey.guid(),
  int    : chansey.integer(),
  arr    : jsc.array(chansey.word),  
  name   : chansey.string({pool: 'abc'}),
  text   : chansey.paragraph(),
  o      : jsc.json

An auto-generated list of all methods that are blessed can be found here