@1024pix/randomix

1.1.5 • Public • Published

Randomix

Configuration

import * as generators from '@1024pix/randomix/generators';
import * as data from '@1024pix/randomix/data';
import { Randomix } from '@1024pix/randomix';

export const randomix = new Randomix({
  generators,
  data,
});

Usage

import { randomix } from './randomix'; 

const generator = randomix.getGenerator({ locale: 'fr', seed: 42 });

const integer = generator.integer(10);
const person = generator.person();

Readme

Keywords

none

Package Sidebar

Install

npm i @1024pix/randomix

Weekly Downloads

5

Version

1.1.5

License

GPL-3.0-or-later

Unpacked Size

40.4 kB

Total Files

6

Last publish

Collaborators

  • alielamrani
  • nicolas.lepage
  • vincenthardouin
  • yann_bertrand
  • pix-owner