npm package for pre-commit hook CLI
npm install phi-cliThe phi-cli is a command-line tool designed to check for Protected Health Information (PHI) in the files staged for commit in a Git repository. It helps ensure that sensitive data is not accidentally committed to version control.
---
You can install phi-cli either globally or locally depending on how you'd like to use it in your project.
```
npm install phi-cli --save-dev
``
PHI_API_URL=https://your-phi-checker-api-url.com
First, ensure Husky is installed:
`
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
`
git add .
git commit -m "Test PHI check"``