Check for unused Deno dependencies

Check for unused Deno dependencies

depcheck .depcheck, inspired by NPM's depcheck. Check for unused dependencies

depcheck

Check for unused dependencies

depcheck, inspired by NPM's depcheck.

Quick Start

$ deno run --allow-read='.' https://deno.land/x/[email protected]/mod.ts

Documentation

depcheck checks for anny unused dependencies in your project. It will pull dependencies used in deps.ts and tests/deps.ts or test/deps.ts, and check if each one is used within your project.

You can also pass a --clean flag, that will remove these unused export/import statements from your deps.ts files.

Your project must be formatted before hand, and depcheck can do this for you, if you pass --fmt as a flag.

Check For Unused Dependencies

$ deno run --allow-read='.' https://deno.land/x/depcheck/mod.ts

Check, and Remove Those Unused Dependencies

$ deno run --allow-read='.' --allow-write='.' https://deno.land/x/depcheck/mod.ts --clean

Format Your Code Before Checking

$ deno run --allow-read='.' --allow-run https://deno.land/x/depcheck/mod.ts --fmt
or
$ deno run --allow-read='.' --allow-run https://deno.land/x/depcheck/mod.ts --fmt --clean

Contributing

Contributors are welcomed!

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Download Details:

Author: ebebbington

Source Code: https://github.com/ebebbington/depcheck

deno node javascript nodejs

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AEM Querybuilder for JavaScript (Browser, Node, Deno)

Helix Querybuilder .AEM Querybuilder for JavaScript (Browser, Node, Deno)

NKeys for JavaScript - Node.js, Browsers, and Deno

A public-key signature system based on Ed25519 for the NATS ecosystem system for JavaScript. The nkeys.js library works in Deno, Node.js, and the browser!

Javascript module for easily generating mazes,compatible with both Deno and Node

A work-in-progress Javascript maze generator module, compatible with both Deno and Node.

Deno Tutorial for Beginners: Deno vs. Node: Better Than NodeJS?

Deno is released, it’s time to find out if it can prove a worthy competition for Node.js. What is Deno? Why Deno can be considered an alternative to Node? The main differences between Deno and Node. Write a simple Deno app.

What is Deno? The Node.JS Killer? The Deno-minator to Node?

What is Deno? The Node.JS Killer? The Deno-minator to Node? Deno is the new hype and will it be better than node.js? Deno is a secure runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language that addresses Node’s shortcomings