UNPKG

nodejs-restful-jsonapi-seed

Version:

Everything you need to start building a scalable web application.

24 lines (20 loc) 400 B
import Chance from 'chance'; /** * Provides random data generation methods. * * @see http://chancejs.com */ class Random extends Chance { /** * Override string default options. * * @inheritdoc */ string(options = {length: 8, pool: 'abcdefghijklmnopqrstuvwxyz1234567890'}) { return super.string(options); } } /** * @export default Random */ export default new Random();