New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-unused-exports

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project

  • 9.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
194K
increased by12.43%
Maintainers
2
Weekly downloads
 
Created

What is ts-unused-exports?

The ts-unused-exports npm package is a tool designed to help developers identify and remove unused exports in TypeScript projects. This can help in cleaning up the codebase, reducing bundle size, and improving maintainability.

What are ts-unused-exports's main functionalities?

Identify Unused Exports

This command scans the TypeScript project specified by the tsconfig.json file and lists all the exports that are not being used anywhere in the project.

npx ts-unused-exports path/to/tsconfig.json

Custom Configuration

You can customize the behavior of ts-unused-exports by specifying entry files and files to exclude in a configuration file. This allows for more precise control over which parts of the codebase are analyzed.

{
  "entryFiles": ["src/index.ts"],
  "excludeFiles": ["src/**/*.test.ts"]
}

Other packages similar to ts-unused-exports

Keywords

FAQs

Package last updated on 24 Jun 2023

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

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