@fakerjs/profession
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

Profession

Profession package provides functionality to generate a fake profession value.

Version node-current License

Install

npm

npm install @fakerjs/profession --save-dev

yarn

yarn add @fakerjs/profession -D

Usage

import profession from '@fakerjs/profession';

profession();
//=> Software Engineer

profession({rank: true});
//=> Lead Software Engineer

profession({rank: true, locale: 'en_US'});
//=> Lead Software Engineer

// Allowed rank: true, false
// Allowed locale: en_US

Tests

Run tests

npm run test

License

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

Package Sidebar

Install

npm i @fakerjs/profession

Weekly Downloads

1,199

Version

2.2.0

License

MIT

Unpacked Size

14 kB

Total Files

7

Last publish

Collaborators

  • awilum