npm.io
1.0.1 • Published 6 years ago

jumpet

Licence
MIT
Version
1.0.1
Deps
0
Size
6 kB
Vulns
0
Weekly
0

Jumpet

An example package to test npm, Mocha and Chai

Written by Alexander Proschek

Installation and usage for NodeJS

Run npm install --save jumpet

To use any of Jumpet's methods

const jumpet = require('jumpet');

let result = jumpet.exp(2,3);

console.log(result); // Will output 8

Or use ES6 syntax to unpack a specific method

const { reverse } = require('jumpet');

let array = [1,2,3];

reverse(array);

console.log(array); /// Will output [3,2,1]