Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.3 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.3 KB

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

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) Copyright (c) Sergey Romanenko