Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.21 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.21 KB

Integer

Integer package provides functionality to generate a fake integer value.

Version node-current License

Install

npm

npm install @fakerjs/integer --save-dev

yarn

yarn add @fakerjs/integer -D

Usage

import integer from '@fakerjs/integer';

integer();
//=> 1109494507128900

integer({min: 0, max: 10});
//=> 5

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko