Skip to main content

LaLa

A collection of random useful (probably) javascript classes and functions. No it wasn’t named after Lala Satalin Deviluke (or it probably was, idk).

Node

Installation

$ npm i --save @nekooftheabyss/lala # with NPM
$ pnpm i @nekooftheabyss/lala # with PNPM

Or you can clone the repo:

$ git clone https://github.com/NekoOfTheAbyss/lala

Examples

Import

import lala from '@nekooftheabyss/lala' 
console.log(lala.random.getName(5)) // MOYAI

or

import { getName } from '@nekooftheabyss/lala'
console.log(getName(5)) // MOYAI
new lala.Time(86403000) // Returns a time class instance for 24 hours and 3 seconds

Deno

I don’t really get how Deno works yet but you should be able to work with importing lala.js from the module.


Oh of course, check the official documentation for more examples.

Documentation

Check out the official documentation