Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dead-code-checker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dead-code-checker - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

5

bin/index.js

@@ -14,2 +14,3 @@ #!/usr/bin/env node

.option('-f, --folder <folder>', 'Folder to be scanned (Default: ./src)')
.option('-if, --ignoreFolders <folders...>', 'Folders to be ignored')
.parse(process.argv);

@@ -24,4 +25,6 @@

} else {
const checker = new DeadCodeChecker(options.folder);
const checker = new DeadCodeChecker(options.folder, {
ignoreFolders: options.ignoreFolders || []
});
checker.run();
}

2

package.json
{
"name": "dead-code-checker",
"version": "0.0.5",
"version": "0.0.6",
"description": "Dead code checker",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -9,2 +9,4 @@ # Dead Code Checker

The tool will recursively scan through your project's source files and generate a report of unused functions and variables.
## Features

@@ -36,5 +38,4 @@

| -f, --folder <folder> | ./src | **Folder to be scanned:** Folder to be scanned (Default: ./src) |
| -if, --ignoreFolders <folders...> | node_modules dist | **Folders to be ignored:** Folders to be ignored |
The tool will recursively scan through your project's source files and generate a report of unused functions and variables.
## Example Output

@@ -41,0 +42,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc