Socket
Socket
Sign inDemoInstall

fuck-npm

Package Overview
Dependencies
61
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fuck-npm

Removes `node_modules` & runs `npm install`


Version published
Weekly downloads
10
increased by400%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

fuck-npm

Version License Node version Dependencies Vulnerabilities Prettier

Description

This command line tool will remove node_modules directory & run npm install. Useful when you're desperate.

Windows (NFTS) - "Source Path Too Long" error

fuck-npm has been tested against the following error on Windows:

The source file name(s) are larger than is supported by the file system. Try moving to a location which has a shorter path name, or try renaming to shorter name(s) before attempting this operation.

Installation

npm install -g fuck-npm

Usage

# go to your project directory
cd ~/projects/my-project

# remove "node_modules", and then run "npm install"
fuck-npm

# remove "node_modules" & "package-lock.json", and then run "npm install"
fuck-npm aslkjdals # pass any parameter (just mash your keyboard!)

Keywords

FAQs

Last updated on 27 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc