1.0.0 • Published 2 years ago

@nigelrex/functions v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Nigelrex's Functions

Nigelrex's function provide a set of awesome stuff to program with ease.

import "@nigelrex/functions";
// your code
const result = input("Enter your phone number: ", 20000);
console.log(result);

This is a simple 2 line code to get input from CLI from a user just like in python.

import "@nigelrex/functions";
sleep(5000);
// OR
wait(5000);

Lazy to type console.log() and wished log() just worked fine

import "@nigelrex/functions";
log("Hello World!");

That works now!!

This acts like a setTimeout and waits untill the provided time in ms

Needed to import moment for a unix timestamp?

import "@nigelrex/functions";
log(new Date().unix());

This is much better right?

Support

Join my discord for help and support.

Nigelrex's Server

Docs

Check out the Docs