DEV Community

Cover image for Top 7 Useless NPM Packages You Won't Believe Exist 💀💀💀
Helitha Rupasinghe
Helitha Rupasinghe

Posted on • Updated on

Top 7 Useless NPM Packages You Won't Believe Exist 💀💀💀

💀 1. hello-useless

What does it do:
Useless playground package, move away.

How to use it:

//Install using npm and enjoy:
npm i hello-useless
Enter fullscreen mode Exit fullscreen mode

💀 2. is-useless

What does it do:
Package to reflect on the current state of npm.

How to use it:

//Install using npm:
npm i is-useless

//In Node.js:
const isUseless = require("is-useless");
Enter fullscreen mode Exit fullscreen mode
const isUseless = require("is-useless");

console.log(isUseless(process.env.CREDIT_CARD_NUMBER)); // may or may not send to servers for product improvement
Enter fullscreen mode Exit fullscreen mode

💀 3. @robertosviluppo/useless

What does it do:
Useless package to learn NPM.

How to use it:

//Install using npm:
npm i @robertosviluppo/useless
Enter fullscreen mode Exit fullscreen mode
var summer = require('@robertosviluppo/useless');
var sum = summer(3, 2);
Enter fullscreen mode Exit fullscreen mode

💀 4. meaning-of-life

What does it do:
Provides the meaning of life.

How to use it:

//Install using npm and enjoy:
npm i meaning-of-life
Enter fullscreen mode Exit fullscreen mode

💀 5. nothing-to-see-here

What does it do:
A package that does nothing at all.

How to use it:

//Install using npm and enjoy:
$ npm install nothing-to-see-here
Enter fullscreen mode Exit fullscreen mode
var nothing = require('nothing-to-see-here');
// Do nothing with nothing, since it does nothing at all.
Enter fullscreen mode Exit fullscreen mode

💀 6. my-awesome-package-that-is-more-awesome-than-other-packages

What does it do:
It just exports a useless message.

How to use it:

//Install using npm:
npm i my-awesome-package-that-is-more-awesome-than-other-packages
Enter fullscreen mode Exit fullscreen mode
//index.js
var demo = require('my-awesome-package-that-is-more-awesome-than-other-packages')

demo.printMsg();

//node
$: node index.js
This is a more awesome package than ANY other package on NPM
Enter fullscreen mode Exit fullscreen mode

💀 7. is-stupid

What does it do:
A package to figure out if one is stupid.

How to use it:

//Install using npm:
npm i is-stupid

//Install using yarn:
yarn install is-stupid

//With Deno:
import isStupid from 'https://unpkg.com/is-stupid/dist/index.js'
Enter fullscreen mode Exit fullscreen mode
import isStupid from 'is-stupid';

if (isStupid) {
    console.log('oh no');
}
Enter fullscreen mode Exit fullscreen mode

Oldest comments (0)