loldash
TypeScript icon, indicating that this package has built-in type declarations

9002.0.0 • Public • Published

loldash

very serious javascripts

play with it here: www.loldash.com

wait what?

See here.

usage

npm install loldash
import install from "loldash";
 
install();

docs

Array.prototype.eat - returns an empty array

Array.prototype.floppy - removes the last three items of the array and returns the removed items

Array.prototype.fry - adds 325 to every item in the array and returns itself

Array.prototype.ginormous - increases the size of the array to be 2 ^ array.length and returns itself

Array.prototype.lubricant - accepts an integer as a parameter and increase the size of the array to that size and returns itself

Array.prototype.moist - returns a string of generated JavaScript that returns that array. useful if your code is too DRY

Array.prototype.mushyface - randomly adds and subtracts numbers from each number in the array without changing the average number of the array and returns itself

Array.prototype.nope - no operation, just do nothing and returns itself

Array.prototype.pancake - sugar for calling smoosh and fry

Array.prototype.rad - overwrites all the values in the array to be a pretty rad string of hearts, returns itself

Array.prototype.scrunch - cuts the size in half and combines values of items next to each other and returns itself

Array.prototype.smooosh - recursively smooshes an array of arrays into one smooshed (or flattened) array, returns itself

Array.prototype.smoosh - smooshes an array of arrays into one smooshed (or flattened) array, returns itself

Array.prototype.squiggle - shuffles the array and returns itself

Array.prototype.squirt - removes a random item in the array and puts it in the previously accessed array and returns itself

Array.prototype.tickle - coerces all the items in the array to be a different type or value and returns itself

why would you …

YOU'RE NOT MY MOM!

Package Sidebar

Install

npm i loldash

Weekly Downloads

18

Version

9002.0.0

License

Apache-2.0

Unpacked Size

25.1 kB

Total Files

43

Last publish

Collaborators

  • btholt