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.There is an npm package for every task
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?
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.
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
Node.js module that tells you when your package npm dependencies are out of date. Automate the review of dependencies. What a life-saver.
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 — generate massive amounts of fake data in the browser and node.js.
You don’t need to type foobar multiple times now! ka-ching...
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 😝
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
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!
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.
Make cool loading screens for your terminal application or your js-script by this tool
No need for further explanation for this amazing package.
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.
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.
A better node-open. Opens stuff like websites, files, executables. Cross-platform.
So you can make small scripts to automate your tasks ;)
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.
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.
Node.js Desktop Automation. Control the mouse, keyboard, and read the screen.
Automate Everything! xD
Subtitle downloader for movies and TV series.
Now you don’t have to go to ytsubtitles EVERYTIMEE!!!
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.
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!!
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 ss ✅
Get the current wifi password.
There’s also a CLI version of this module:- wifi-password-cli .
Generate a memorable password either from the API or the cli version of xkpasswd.
Or just for generating random strings.
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.
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.
Thanks for reading ❤
If you liked this post, share it with all of your programming buddies!
So, the question is: how do we make this web of packages less expensive as it gets bigger? How do we preserve community control of that web? How do we earn the trust of other language communities, so we can solve the problem of artifact dependencies once and reap the benefits across all languages? We think Entropic is the answer: federated registries and distributed trust recast this ephemeral web of packages in diamond, adamant and self-supporting.
Speaker: Chris Dickinson
Node.js for Beginners - Learn Node.js from Scratch (Step by Step) - Learn the basics of Node.js. This Node.js tutorial will guide you step by step so that you will learn basics and theory of every part. Learn to use Node.js like a professional. You’ll learn: Basic Of Node, Modules, NPM In Node, Event, Email, Uploading File, Advance Of Node.Node.js for Beginners
Welcome to my course "Node.js for Beginners - Learn Node.js from Scratch". This course will guide you step by step so that you will learn basics and theory of every part. This course contain hands on example so that you can understand coding in Node.js better. If you have no previous knowledge or experience in Node.js, you will like that the course begins with Node.js basics. otherwise if you have few experience in programming in Node.js, this course can help you learn some new information . This course contain hands on practical examples without neglecting theory and basics. Learn to use Node.js like a professional. This comprehensive course will allow to work on the real world as an expert!
What you’ll learn:
Node is fast, scalable, and easy to get started with. Its default package manager is npm, which means it also sports the largest ecosystem of open-source libraries. Node is used by companies such as NASA, Uber, Netflix, and Walmart.
But Node doesn't come alone. It comes with a plethora of frameworks. A Node framework can be pictured as the external scaffolding that you can build your app in. These frameworks are built on top of Node and extend the technology's functionality, mostly by making apps easier to prototype and develop, while also making them faster and more scalable.
Below are 7of the most popular Node frameworks at this point in time (ranked from high to low by GitHub stars).Express
With over 43,000 GitHub stars, Express is the most popular Node framework. It brands itself as a fast, unopinionated, and minimalist framework. Express acts as middleware: it helps set up and configure routes to send and receive requests between the front-end and the database of an app.
Express provides lightweight, powerful tools for HTTP servers. It's a great framework for single-page apps, websites, hybrids, or public HTTP APIs. It supports over fourteen different template engines, so developers aren't forced into any specific ORM.Meteor
The project has over 41,000 GitHub stars and is built to power large projects. Meteor is used by companies such as Mazda, Honeywell, Qualcomm, and IKEA. It has excellent documentation and a strong community behind it.Koa
Koa is built by the same team that built Express. It uses ES6 methods that allow developers to work without callbacks. Developers also have more control over error-handling. Koa has no middleware within its core, which means that developers have more control over configuration, but which means that traditional Node middleware (e.g. req, res, next) won't work with Koa.
Koa already has over 26,000 GitHub stars. The Express developers built Koa because they wanted a lighter framework that was more expressive and more robust than Express. You can find out more about the differences between Koa and Express here.Sails
Sails is a real-time, MVC framework for Node that's built on Express. It supports auto-generated REST APIs and comes with an easy WebSocket integration.
The project has over 20,000 stars on GitHub and is compatible with almost all databases (MySQL, MongoDB, PostgreSQL, Redis). It's also compatible with most front-end technologies (Angular, iOS, Android, React, and even Windows Phone).Nest
Nest is packaged in such a way it serves as a complete development kit for writing enterprise-level apps. The framework uses Express, but is compatible with a wide range of other libraries.LoopBack
LoopBack is a framework that allows developers to quickly create REST APIs. It has an easy-to-use CLI wizard and allows developers to create models either on their schema or dynamically. It also has a built-in API explorer.
LoopBack has over 12,000 GitHub stars and is used by companies such as GoDaddy, Symantec, and the Bank of America. It's compatible with many REST services and a wide variety of databases (MongoDB, Oracle, MySQL, PostgreSQL).Hapi
Similar to Express, hapi serves data by intermediating between server-side and client-side. As such, it's can serve as a substitute for Express. Hapi allows developers to focus on writing reusable app logic in a modular and prescriptive fashion.
The project has over 11,000 GitHub stars. It has built-in support for input validation, caching, authentication, and more. Hapi was originally developed to handle all of Walmart's mobile traffic during Black Friday.