Navigate back to the homepage
AboutWeb-DevelopmentSoftware-DevSelf-Improvement
x
x
x
x
x
x
x

A to Z of NPM Packages

Divyansh Tripathi
February 21st, 2019 · 4 min read

A to Z of NPM Packages (unconventional)…

An NPM package for everything

You know you are guilty of using npm packages as you would pop painkillers in a severe headache. We node.js developers love to use an npm package for almost everything. Which also caused the catastrophic left-pad incident.
But I am not here to blabber about that. Npm packages can be used for almost any task possible but do we really use them to the fullest?

A-Z

Here is a list of 26 alphabetically ordered npm packages which are hidden in dark. And can be used by you to make your life easier. I’m gonna stay away from biggies like Express, Mongoose, React, Vue etc. Just going to give the limelight to the batmans (the one we need but we don’t deserve) of npm packages.So let’s get going.

TL;DR

Alex

a

Whether your own or someone else’s writing, alex helps you find gender favouring, polarising, race-related, religion inconsiderate, or another unequal phrasing in the text. For example, when We’ve confirmed his identity is given to alex, it will warn you and suggest using their instead of his.

Brain.js

b

Brain.js is a library of Neural Networks written in JavaScript.

Who said python is a must for machine learning and artificial intelligence, watch out for javascript.

Carbon-now-cli

c

Have you ever seen the beautiful screenshots of code we bloggers use? ITS CARBON…and guess what it has a cli tool based on Javascript too. Which lets you download screenshots of files in your local directory so that you don’t need to open your browser.

David

d

Node.js module that tells you when your package npm dependencies are out of date. Automate the review of dependencies. What a life-saver.

Emoj

e

Find relevant emoji from text on the command-line.

Okay I know this is not useful anyhow but refer to the title please xD

Faker.js

f

faker.js — generate massive amounts of fake data in the browser and node.js.

You don’t need to type foobar multiple times now! ka-ching…

Gradient-string

g

Beautiful color gradients in terminal output. If you are a terminal enthusiast like me this thing might interest you or it.

Who thought that geeky terminal also supported gradients 😝

He

he (for “HTML entities”) is a robust HTML entity encoder/decoder written in JavaScript. It supports all standardized named character references as per HTML, handles ambiguous ampersands and other edge cases just like a browser would, has an extensive test suite, and — contrary to many other JavaScript solutions — he handles astral Unicode symbols just fine. An online demo is available.

IPonMAP

i

IpOnMap locates IP address lookup on the world map right in your terminal using awesome nodejs dashboard library blessed-contrib.You might’ve seen it in the films about hackers. Now it’s real with iponmap.

Johnny-Five

j

ARDUINO CODE ON JAVASCRIPT

Johnny-Five is an Open Source, Firmata Protocol-based, IoT and Robotics programming framework, developed at Bocoup. Johnny-Five programs can be written for Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, pcDuino3, Raspberry Pi, Particle/Spark Core & Photon, Tessel 2, TI Launchpad and more!

Kill-Tabs

k

When you run kill-tabs the Chrome tab processes are killed, which means they will no longer take up system resources, but they will be in your Chrome window, crashed. When you want one back you just reload the tab.

Listr

l

Make cool loading screens for your terminal application or your js-script by this tool

Demo

No need for further explanation for this amazing package.

ms

m1

m2

This package is as simple as its name but is a HUGE time-saver (no pun intended) when dealing with time specific apps.Save yourself from all the DREADED REGEX CODE.

nerds

n

nerdsJS is an API for easily generating random data from your favourite nerdy movies, tv shows, and hobbies. Pull mock data into your app or presentation from Pokemon, Harry Potter, Star Wars. Effortlessly compose nerdy datasets by chaining methods in succinct and intelligible expressions.

opn

o

A better node-open. Opens stuff like websites, files, executables. Cross-platform.

So you can make small scripts to automate your tasks ;)

pkg

p

This command line interface enables you to package your Node.js project into an executable that can be run even on devices without Node.js installed.

Thus running your code on machines where there is no nodejs installed.

Q

q

If a function cannot return a value or throw an exception without blocking, it can return a promise instead. A promise is an object that represents the return value or the thrown exception that the function may eventually provide. A promise can also be used as a proxy for a remote object to overcome latency.

RobotJS

r

Node.js Desktop Automation. Control the mouse, keyboard, and read the screen.

Automate Everything! xD

Subdownloader

s

Subtitle downloader for movies and TV series.

Now you don’t have to go to ytsubtitles EVERYTIMEE!!!

Trymodule

t

Try NPM modules straight in the terminal without making any project.

Downloads the module if needed, and starts a nodejs REPL with module loaded in the current scope, ready for you to use.

Upash

u

The upash (pronounced u-pash) project aims is to allow you to have a clean and easy-to-use API to use any password hashing algorithm seamlessly in your application. Thus you have access to all password hashing algorithms by just 1 single library! Phew!!

Vtop

v

A graphical activity monitor for the command line.

Much more than just a GEEKY task manager.

Use it to impress your friends ✅

Use it to take some cool screenshots ✅

wifi-password

w

Get the current wifi password.

There’s also a CLI version of this module:- wifi-password-cli .

Xkpasswd

x

Generate a memorable password either from the API or the cli version of xkpasswd.

Or just for generating random strings.

Yves

y

Inspector utility for nodejs to SAVE YOUR EYES from the ultimate stare down in the bland terminal console.log.

It also prints circular objects and many houses many other inspector features.

Zooming

Ever wondered how to make the Medium image zoom feature. This API is meant for that only .Go see the demo now.

via GIPHY

Just as I promised I’ve tried to stay away from the biggies and present to you the 26 npm packages which are UNCONVENTIONAL yet USEFUL.

I hope to see your reviews in comments :)

Join my email list and get notified about new content

I promise I won't spam or unnecesarily promotional emails through this mailing list. You might also get chance to be eligible for my monthly giveaways. Also I promise to not spam your inbox or share your email with any third parties.

More articles from Silentlad

How I Became a Programmer IN SPITE of the Education System

Are you a successful and happy programmer because of your formal education or in-spite of it?

January 30th, 2019 · 4 min read

Web Scraping with Puppeteer

A basic tutorial and beginner's guid to start with Puppeteer

January 16th, 2019 · 4 min read
xx
© 2018–2021 SilentladSitemapRSS feed
Link to $https://twitter.com/silent_lad_Link to $https://medium.com/@silentladLink to $https://github.com/silent-ladLink to $https://www.instagram.com/silent_lad_/Link to $https://www.linkedin.com/in/silentlad/Link to $mailto:silentlad29@gmail.com