You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@nigelrex/functions

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nigelrex/functions

All javascript functions needed

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

Keywords

functions

FAQs

Package last updated on 23 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts