New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@fakerjs/camera

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fakerjs/camera

Camera package provides functionality to generate a fake camera value.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 09 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts