nomyom

A small tool to reset your project's ./node_modules

Usage no npm install needed!

<script type="module">
  import nomyom from 'https://cdn.skypack.dev/nomyom';
</script>

README

nomyom

nomnomnom

A small tool to reset your ./node_modules.

  • npm and yarn support
  • cross-platform thanks to rimraf
  • option to verify/clean cache

Inspired by @pzuraq's nombom and @johnotander's turn-it-off-and-on-again

Install

npm install -g nomyom
# OR
yarn global add nomyom

Usage

# inside a project directory
nomyom

Options

help for all available arguments.

--clean or -C to clean the npm/yarn cache.

--skip-install to skip reinstalling.

--verbose to print additional output.

Todo

[x] auto-detect yarn vs npm [ ] verbose should show all stdout/error [x] add help command [ ] improve spinner on Windows