Catalog npm
PACKAGE EXPLORERView in registry

2020nodesnippets

npm

A group of helpful snippets for Node.js

Versions collected6
Direct dependencies1From release 1.0.6
Last observed20 Oct, 18:53 UTC

README

Current package documentation

2020 Node Snippets

These are some small helpful function for Node.js

Features

  • Easier printing to console
  • Array sorting
  • Array random shuffling
  • Remove item from array by value
  • Remove item from array by index
  • Factorial
  • Permutaion
  • Combination

Installation

To install 2020 Node Snippets, you will need Node.js (https://nodejs.org) and you will need to initialize npm in a directory using npm init. Run the command npm install 2020nodesnippets to install the package in the directory.

Usage Example

const ns = require('2020nodesnippets');
let x = [1, 2, 3, 4, 5];
let y = ns.randshuffle(x);
ns.print(y);

Github Repository and npm package

The Github repository is accessible at https://github.com/NavSous/Node_Snippets The npm package is accessible at https://www.npmjs.com/package/2020nodesnippets

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 6

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.6Registry latest11 Jan 20211
1.0.511 Jan 20211
1.0.38 Jan 20211
1.0.28 Jan 20211
1.0.18 Jan 20211
1.0.06 Jan 20211

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f02a6827a268aeb6cee6ef842c4d950a39bf92401a08f1e3a6d4afcea8daead3