Socket
Book a DemoInstallSign in
Socket

@donutteam/number-utilities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@donutteam/number-utilities

A collection of various number-related utility functions.

unpublished
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Number Utilities

A collection of various number-related utility functions.

Installation

Install the package with NPM:

npm install @donutteam/number-utilities

Usage

randomInt

This function generates a random interger between the minimum (inclusive) and the maximum (exclusive) values given to it:

import { randomInt } from "@donutteam/number-utilities";

// Will be some number from 0 to 9
const myRandomInteger = randomInt(0, 10);

License

MIT

Keywords

number

FAQs

Package last updated on 05 Jan 2023

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