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

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


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

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

Camera


Camera package provides functionality to generate a fake camera value.


Version node-current License

## Install

npm
```
npm install @fakerjs/camera --save-dev
```

yarn
```
yarn add @fakerjs/camera -D
```

## Usage

```js
import camera from '@fakerjs/camera';

camera({locale: 'en_US'}).brand();
//=> Nikon
// Allowed locale: en_US

camera().brand();
//=> Nikon

camera().model();
//=> D7200

camera().brandWithModel();
//=> Nikon D7200
```

## Tests

Run tests

```
npm run test
```

## License
[The MIT License (MIT)](https://github.com/faker-javascript/camera/blob/master/LICENSE)
Copyright (c) [Sergey Romanenko](https://github.com/Awilum)