Installation

Nuance has a focus on being lightweight, so it has no co-dependencies, which makes the installation process very simple. Go into your project directory, and run this command in your terminal:

If using NPM

npm i nuancejs

If using yarn

yarn add nuancejs

Next you just need to import it, and that's it!

here's an example:

import { randomInRange } from "nuancejs";   // if you're using ES6 modules
const { randomInRange } = require("nuancejs");   // if you're using CommonJS 

Is it possible to install only the functions that i need?

At the moment, this is not possible, but given the tiny size of the package, this is not a problem.

As the package grows, this will be implemented.