Skip to content

Age package provides functionality to generate a fake age value.

License

Notifications You must be signed in to change notification settings

faker-javascript/age

Age

Age package provides functionality to generate a fake age value.

Versionnode-currentLicense

Install

npm

npm install @fakerjs/age --save-dev 

yarn

yarn add @fakerjs/age -D 

Usage

importagefrom'@fakerjs/age';age();//=> 42age({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