
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
Inspired by agadoo lib
Is your project 100% tree-shakeable?
With treeshake, you can find out which files and code lines that are not tree-shakeable.
Simply run npx treeshake in your project root. Make sure you have your entry point defined in package.json under either "module" or "main".
Upon running, you'll get notification whether your code is 100% tree-shakeable or not. If not, it will tell which file(s) are causing/ affected by side-effects and the codes that caused it.
********** reading files **********
tree88shakey
TREESHAKEtRe eSha
kETREESHaKetreeshAKE
TreeShakEY o0o tREeSHAKE
Es6 /T r eesHakeY
\/// /Thanks
\//////
|||||
|||||
|||||
.....//||||\....
Awesome! Your code is 100% tree-shakeable!
or
********** reading files **********
Unshaken files:
/path/to/your/file.js
/another/path/to/your/file.js
********** reading codes **********
Unshaken codes:
console.log("Side-effects");
********** Finished Reading **********
import and exportFAQs
Test if a package is 100% tree-shakeable
The npm package tree-shake receives a total of 11 weekly downloads. As such, tree-shake popularity was classified as not popular.
We found that tree-shake demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.