1.5.0 • Published 4 years ago

tinyhelp v1.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

tinyhelp

Travis build Code Coverage

Install like this: npm i tinyhelp

Then either import everything:

import * as helpMe from "tinyhelp";
helpMe.sort([5,2,6,3,5]); // => [2,3,5,5,6]
helpMe.flatten([1,[2,[3]]]) // => [1,2,3]

Or use named imports:

import { sort } from "tinyhelp";
sort([5,2,6,3,5]) // => [2,3,5,5,6]

This is a tiny library of javascript functions, currently comprising:

  • deepCopy
  • flatten
  • isPrime
  • sieveOfE (sieve of Eratosthenes)
  • peek
  • sort
  • isEqual
  • inPlaceShuffle
  • regularShuffle
1.5.0

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago