Skip to content

faker-javascript/camera

Repository files navigation

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