Skip to content

๐Ÿ‘Œ By hooking into the pre-push hook provided by Git, Talisman validates the outgoing changeset for things that look suspicious - such as authorization tokens and private keys.

License

Notifications You must be signed in to change notification settings

pgmanutd/node-talisman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

node-talisman ยท npm PRs Welcome GitHub license CircleCI Coverage Status Known Vulnerabilities

A npm package for running Thoughtwork's Talisman tool as a CLI.

Requires

  • Node 12+

Features

Installation

  1. Add package

    npm install --save-dev node-talisman
  2. Add a script to package.json

    {
      "scripts" : {
        "node-talisman": "node-talisman",
        ...
      }
      ...
    }
  3. Use it as you like ๐Ÿ˜‰

    Using above script:

    npm run node-talisman -- --githook [pre-commit|pre-push]
    
    # finds all .js and .ts files in the current directory (recursively)
    npm run node-talisman -- --pattern="./**/*.{js,ts}"

    Using npx:

    npx node-talisman --githook [pre-commit|pre-push]
    
    # finds all .js and .ts files in the current directory (recursively)
    npx node-talisman --pattern="./**/*.{js,ts}"

    For more details checkout Talisman as a CLI utility.

Contributing Guide

Anyone can help to make this project better - check out the Contributing Guide!

Code of Conduct

Please adhere to Code of Conduct.

Issues

Please make sure to read the Issue Reporting Guidelines before opening an issue.

Changelog

Detailed changes for each release are documented in the release notes.

License

Licensed under the MIT licensed.

About

๐Ÿ‘Œ By hooking into the pre-push hook provided by Git, Talisman validates the outgoing changeset for things that look suspicious - such as authorization tokens and private keys.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published