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
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
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
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
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
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
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
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
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
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
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
Make cool loading screens for your terminal application or your js-script by this tool
No need for further explanation for this amazing package.
ms
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
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
A better node-open. Opens stuff like websites, files, executables. Cross-platform.
So you can make small scripts to automate your tasks ;)
pkg
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
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
Node.js Desktop Automation. Control the mouse, keyboard, and read the screen.
Automate Everything! xD
Subdownloader
Subtitle downloader for movies and TV series.
Now you don’t have to go to ytsubtitles EVERYTIMEE!!!
Trymodule
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
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
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
Get the current wifi password.
There’s also a CLI version of this module:- wifi-password-cli .
Xkpasswd
Generate a memorable password either from the API or the cli version of xkpasswd.
Or just for generating random strings.
Yves
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.
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 :)