An open API service indexing awesome lists of open source software.

https://github.com/faker-javascript/profession

Profession package provides functionality to generate a fake profession value.
https://github.com/faker-javascript/profession

fake-data fake-data-generator fake-generator faker fakerjs javascript js typescript

Last synced: 2 months ago
JSON representation

Profession package provides functionality to generate a fake profession value.

Awesome Lists containing this project

README

          

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

```js
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)](https://github.com/faker-javascript/profession/blob/master/LICENSE)
Copyright (c) [Sergey Romanenko](https://github.com/Awilum)