Skip to content

faker-javascript/age

Age

Age package provides functionality to generate a fake age value.

Version node-current License

Install

npm

npm install @fakerjs/age --save-dev 

yarn

yarn add @fakerjs/age -D 

Usage

import age from '@fakerjs/age'; age(); //=> 42 age({type: 'child'}); //=> 10 // Allowed type: child, teen, adult, senior

Tests

Run tests

npm run test 

License

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

About

Age package provides functionality to generate a fake age value.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published