Socket
Book a DemoInstallSign in
Socket

@jeremistadler/unused-unloved

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jeremistadler/unused-unloved

Find all the unused files πŸ—‚ by checking all unused imports in your React project (no need for a webpack plugin). List out all those files in a nice JSON file to do what you like with!

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

Build Status

NPM

unused-unloved

🌳Tree shaking is great but what happens when you have so many πŸ“files in your dev environment you can't remember which ones are actually in useπŸ˜΅πŸ€·β€β™‚οΈπŸ€·β€β™€οΈ and those that are currently dormant? Time for some spring cleaning, enter... unused-unlovedπŸŽ‰πŸŽ‰ !

Once unused-unloved has run it will output an πŸ“„unused-file-report.json

You can now use the contents of this folder to do as you wish, personally, I suggest copy and paste it into http://json2table.com/

Getting started is simple:

npm install -g unused-unloved

running is just as simple...

Open your React (or similar) project and make sure you are the same level as your /src folder and just run:

unused-unloved

Enjoy! πŸ˜πŸ™Œ

unused-unloved created by Chris Watson - cwatson88⌨

Keywords

unused

FAQs

Package last updated on 04 Apr 2019

Did you know?

Socket

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