@nigelrex/functions
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @nigelrex/functions

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.02 kB

Total Files

6

Last publish

Collaborators

  • nigelrex