ts-prune
component-elements
ts-prune | component-elements | |
---|---|---|
4 | 1 | |
2,019 | 87 | |
- | - | |
0.0 | 5.1 | |
5 months ago | 7 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-prune
-
What are different ways to check for dead code/unreachable code?
I've had good experiences with ts-prune for a backend project, I'm not sure how well it will do with Angular in the mix, and it probably won't check your templates, but it might manage the rest of your code well.
-
Improving performance of large React app? And any ways to quickly identify possible opportunities for useMemo ane useCallback?
That being said. If the project is Typescript I'd recommend trying `ts-prune` which finds unused code in a project. (https://github.com/nadeesha/ts-prune) it can be really rewarding to find whole directories that are are no longer used and causing a distraction.
-
TS: Remove dead code
Happy cleaning! for more info see: https://github.com/nadeesha/ts-prune
-
How to Delete Dead Code in TypeScript Projects
Second, you will want to install ts-prune and ts-unused-exports globally, so they can be used for any project. Run these commands in a terminal:
component-elements
What are some alternatives?
ts-unused-exports - ts-unused-exports finds unused exported symbols in your Typescript project
date-time-custom-element - A custom element in HTML that displays the current date and time
remeda - A utility library for JavaScript and TypeScript.
nuxt-delay-hydration - Delayed hydration for progressively enhanced apps. Reduced blocking time and improved Google Lighthouse scores. ⚡️
ts-toolbelt - 👷 TypeScript's largest type utility library
cwco - Powerful and Fast Web Component Library with a Simple API
skott - All-in-one devtool to automatically analyze, search and visualize dependencies from JavaScript, TypeScript (JSX/TSX) and Node.js (ES6, CommonJS)
crankshaft - a fast, feature-rich krunker client written in typescript
pyscript-solid - Write python code in Solid.js using Pyscript.
react-goals-with-nextjs - Migrated React Daily Goal Tracker to Next.js
tabius - Tabius is a customizable, and easy to use Tab Grouping extension for Chrome.
tailored - Isomorphic utilities, components and hooks for Fresh and Preact.