Logo

dev-resources.site

for different kinds of informations.

Useful Npx Packages for the Developer's Everyday Life

Published at
2/17/2021
Categories
npm
webdev
npx
Author
zwacky
Categories
3 categories in total
npm
open
webdev
open
npx
open
Author
6 person written this
zwacky
open
Useful Npx Packages for the Developer's Everyday Life

Npm comes with a neat tool called npx that lets you directly execute packages from the npm registry. It temporarily downloads it behind the scene and won’t pollute your local or global npm environment.

In this post I’ll skip useful packages that are bound to libraries and frameworks like Angular’s ng, react’s create-react-app or capacitor’s cap.

I focus on packages that have helped me through my daily life as a developer.


npx kill-port

npx kill-portusage: npx kill-port 8080
repo: npkill

Did some webpack dev server not shut down nicely and now 8080, or any port for that matter, is in use? Just kill it with kill-port.


npx npkill

npx npkillusage: npx npkill
repo: npkill

It’s no secret that node_modules folders are the black holes of software development. This package will help you get back your disk space by selecting and deleting the node_modules of your (unused) projects.


npx http-server

npx http-serverusage: npx http-server .
repo: http-server

Easily serve a directory as a simple webserver. Especially useful for compiled webapps in /build folders.


npx timezone-compare

npx timezone-compareusage: npx timezone-compare
repo: timezone-compare

This package helped me to plan quickly setting up meetings with others of different timezones.


Honorable Mention: npx emoj

npx emojusage: npx emoj happy
repo: emoj

I used this package to death! Sadly its API, that came from getdango’s Emoji & Deep Learning, is not maintained anymore. Thus the emoji results are not ground breaking anymore.

As a replacement I suggest using ctrl + cmd + space (macOS), that will help you a bit on the way of finding the right emoji.


Simon Wicki is a Freelance Developer in Berlin. Worked on Web and Mobile apps at JustWatch. Fluent in Vue, Angular, React and Ionic. Passionate about Frontend, tech, web perf & non-fiction books.

👉 Join me on Twitter to follow my latest updates.

npx Article's
30 articles in total
Favicon
Improving Port Management Speed: Why I Created `port-client` to Replace `npx kill-port`
Favicon
How to install react
Favicon
npm vs npx: Choosing the Right Tool for the Job
Favicon
npm vs npx - What's the difference?
Favicon
npmとnpxの違い
Favicon
Package Manager Fight: npm vs pnpm vs npx vs yarn vs bun
Favicon
App::cpx
Favicon
NPM vs NPX: What's the Difference?
Favicon
npm vs npx — What are the Basic Difference?
Favicon
Create an NPX professional card
Favicon
Diferença entre NPM INIT e NPX
Favicon
Demystifying NPM and NPX: A Dive into Package Management
Favicon
npm vs npx: Friends or Enemy?
Favicon
Understanding npm vs npx: A Developer's Guide 📦🚀
Favicon
Understanding NPM and NPX in frontend Development
Favicon
A NodeJS newbie's guide to understanding NPM and NPX
Favicon
Errors when creating strapi app using the command npx create-strapi-app@latest --quickstart
Favicon
Npx, c'est quoi ?
Favicon
You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)
Favicon
What is NPX?
Favicon
Use this NPM script to create your EditorConfig files
Favicon
Creating an npx Command
Favicon
Automatically Remove Unused Node Modules with Python
Favicon
Animated CLI Profile Card
Favicon
Useful Npx Packages for the Developer's Everyday Life
Favicon
Short Video example in 20 Seconds. Get a Github directory quickly by a simple command without installation.
Favicon
My personal business card - What's next?
Favicon
Creating my personal business card
Favicon
When to Use Global NPM Installs? Rarely
Favicon
Useful NPX

Featured ones: