Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
pure-index
Advanced tools
Pure Index is a tool for packages. It helps to clean your packages of unused exports with ease.
Pure Index is a tool for packages. It helps to clean your packages of unused exports with ease.
And it’s also speedy ⚡️
We will use the @my/ui-kit
package as an example.
export { Button } from './components/button';
export { Text } from './components/text';
export { ThemeProvider, useTheme, type Theme } from './themes';
...
The number of exports increases over time. All of its exportable code requires support. But is all of it being used?
You can check this manually by just looping through the exports. It’s time-consuming, and there is a chance of error. What if multiple repositories use its code?
Let's automate this process!
You can use any package manager
npm install -D pure-index
Pure Index can be used either through a command line interface with an optional configuration file or its JavaScript API.
check-exports
script in the package.json
of packages that require checking. "scripts": {
+ "check-exports": "pure-index"
}
npm run check-exports
Visit our documentation site for additional information, guides, and API references..
1.0.2
FAQs
Pure Index is a tool for packages. It helps to clean your packages of unused exports with ease.
The npm package pure-index receives a total of 21 weekly downloads. As such, pure-index popularity was classified as not popular.
We found that pure-index demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.