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

@fakerjs/float

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fakerjs/float

Float package provides functionality to generate a fake float value.

latest
Source
npmnpm
Version
2.1.1
Version published
Weekly downloads
4.2K
-17.04%
Maintainers
1
Weekly downloads
 
Created
Source

Float

Float package provides functionality to generate a fake float value.

Version node-current License

Install

$ npm install --save @fakerjs/float

Usage

import float from '@fakerjs/float';

float();
//=> -120920142888.5024

float({min: 0, max: 10});
//=> 7.6913

float({min: 0, max: 10, fixed: 6);
//=> 7.691312

Tests

Run tests

npm run test

License

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

Keywords

fakerjs

FAQs

Package last updated on 15 Jan 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