rubnvp / loldash

๐Ÿ˜  serious javascripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.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.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.smoosh - lol

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

About

๐Ÿ˜  serious javascripts

License:Other


Languages

Language:TypeScript 91.6%Language:JavaScript 8.4%