loldash

by btholt

btholt /loldash

๐Ÿ˜  serious javascripts

129 Stars 2 Forks Last release: Not found Other 7 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

loldash

very serious javascripts

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!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.