npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sensitive-data-cleaner

v1.0.3

Published

NPM package that removes all sensitive data in package.json or package-lock.json

Downloads

5

Readme

sensitive-data-cleaner

Use this library to remove all sensitive information from your package.json on installing before publishing your app

Build Status NPM Version Chat on Gitter

Installation

sensitive-data-cleaner is available as an NPM package. You can install sensitive-data-cleaner in your project's directory as usual:

$ npm install sensitive-date-cleaner --save-dev

Usage

sensitive-data-cleaner

sensitive-data-cleaner is an utility for your development life cycle so you don't expose any potential information that can be used against you as user names, emails, jenkins or npm private registry paths.

When sensitive-data-cleaner exposes a cli called clean-sensitive-data

In order to make this tool work we have to provide some arguments.


Arguments

pattern REQUIRED

In order to find the package.json files it's needed to provide at least one pattern, but you can provide more than just one pattern. The pattern accepts wildcards.

Single Pattern
clean-sensitive-data --pattern **/node_modules/**/package.json
Multiple Patterns
clean-sensitive-data --pattern **/node_modules/**/package.json --pattern node_modules/@scope/**/package.json
Using alias
clean-sensitive-data -p **/node_modules/**/package.json -p node_modules/@scope/**/package.json

verbose OPTIONAL

By default clean-sensitive-data only shows a message on finishing processing all the files found using the provided patterns.

On setting verbose argument it will show a lot of more information about all the files being processed, package.json information before stripping data, after stripping data...

Setting verbose mode
clean-sensitive-data --verbose --pattern **/node_modules/**/package.json --pattern node_modules/@scope/**/package.json

Build the source

This library has been written using TypeScript. If you need to use it in your project but you are not working with TypeScript you can always to build the code using npm run build This command will lint your code, run the tests and *compile to TypeScript.

Contributing

This project is maintained by a community of developers. Contributions are welcome and appreciated. You can find sensitive-data-cleaner on GitHub; feel free to start an issue or create a pull requests: https://github.com/tcorral/sensitive-data-cleaner

For more information, read the contribution guide.

License

Copyright (c) 2019 Tomas Corral. Copyright (c) 2019 sensitive-data-cleaner Contributors. Licensed under the MIT License.