
About
grambulate.js is a Node.js module that allows you to perform the mathematical operation of grambulation, according to this explanation by u/DragonballQ.
Installation
To install the package from npm, use one of the following commands depending on the package manager you’re using.
npm install grambulate.js
yarn add grambulate.js
pnpm add grambulate.js
bun add grambulate.js
Example usage
Here I use the ES Modules syntax
- Install grambulate.js using one of the installation commands above
- Import the grambulation functions from the package:
import { grambulatePlus, grambulateMinus } from 'grambulate.js' - Use the functions to grambulate numbers:
console.log(grambulatePlus(1, 3)) console.log(grambulateMinus(-1, -3))
Is there more?
The package contains other functions that help perform the main grambulation operation. These are not necessary for standard use of the package, but if you’d like to go more in-depth, they’re documented here!
They aren’t yet, I’m working on it though!