Skip to content

Computer package provides functionality to generate a fake computer value.

License

Notifications You must be signed in to change notification settings

faker-javascript/computer

Repository files navigation

Computer

Computer package provides functionality to generate a fake computer value.

Version node-current License

Install

npm

npm install @fakerjs/computer --save-dev

yarn

yarn add @fakerjs/computer -D

Usage

import computer from '@fakerjs/computer';

computer({locale: 'en_US'}).os();
//=> Catalina (10.15)
// Allowed locale: en_US

computer().os();
//=> Catalina (10.15) 

computer().platform();
//=> macOS

computer().type();
//=> workstation 

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko

About

Computer package provides functionality to generate a fake computer value.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published