@ygkit/secure
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

@ygkit/secure

npm NPM downloads

Node secure scan tool.

Functions

Name Description
scan Scan sensitive information.

Install

$ npm i @ygkit/secure -g

Usage

Run command in your git project:

$ ygsec

Notice: This command using git diff message to check.

With Husky

If you don't want to run ygsec manually, you can use it with husky.

Firstly install husky and @ygkit/secure in your project:

$ npm i @ygkit/secure husky --save-dev

Then config pre-commit hook in package.json:

{
  "husky": {
    "hooks": {
      "pre-commit": "ygsec"
    }
  }
}

After that, ygsec will run automaticly when you create a new git commit.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @ygkit/secure

Weekly Downloads

2

Version

0.0.10

License

MIT

Unpacked Size

6.89 kB

Total Files

9

Last publish

Collaborators

  • yugasun