1.0.5 • Published 3 years ago
sadotsoy-utils v1.0.5
sadotsoy/utils
v1.0.5
This basic utils library is open for all and used for me: was created for educational, creative, and random purposes.
Examples
Can import all the utils
const utils = require("sadotsoy-utils");
console.log(utils.random.value());
// a random number between 0 to 1.
Or can require a particular module like:
const { random } = require("sadotsoy-utils");
console.log(random.value());
// a random number between 0 to 1.
Or by using destructuring to grab only a select few functions:
const { value } = require("sadotsoy-utils/src/Random/");
console.log(value());
// a random number between 0 to 1.
Modules
AND more to come.......
INSTALL
yarn add sadotsoy-utils
npm install sadotsoy-utils --save