DEV Community

Cover image for Top 7 Useless NPM Packages You Won't Believe Exist πŸ’€πŸ’€πŸ’€
Helitha Rupasinghe
Helitha Rupasinghe

Posted on • Edited 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

Top comments (0)