Camera package provides functionality to generate a fake camera value.
npm
npm install @fakerjs/camera --save-dev
yarn
yarn add @fakerjs/camera -D
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
Run tests
npm run test
The MIT License (MIT) Copyright (c) Sergey Romanenko