{"id":21816387,"url":"https://github.com/neofinancial/ccscan","last_synced_at":"2025-04-14T01:15:02.354Z","repository":{"id":35566665,"uuid":"218177808","full_name":"neofinancial/ccscan","owner":"neofinancial","description":"Scan files for credit card numbers","archived":false,"fork":false,"pushed_at":"2025-01-08T20:39:05.000Z","size":927,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-04-14T01:14:54.644Z","etag":null,"topics":["compliance","hacktoberfest","nodejs","pci","precommit-hooks","squad-dx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neofinancial.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-29T01:23:47.000Z","updated_at":"2025-01-08T20:39:07.000Z","dependencies_parsed_at":"2024-06-28T23:42:36.552Z","dependency_job_id":"064dbe24-17a3-494e-b712-ef8a8399559d","html_url":"https://github.com/neofinancial/ccscan","commit_stats":{"total_commits":19,"total_committers":7,"mean_commits":"2.7142857142857144","dds":0.5789473684210527,"last_synced_commit":"eb3f7611edd71ad8753034694eb8f15bca1e9186"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neofinancial%2Fccscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neofinancial%2Fccscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neofinancial%2Fccscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neofinancial%2Fccscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neofinancial","download_url":"https://codeload.github.com/neofinancial/ccscan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804824,"owners_count":21164135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compliance","hacktoberfest","nodejs","pci","precommit-hooks","squad-dx"],"created_at":"2024-11-27T15:34:07.756Z","updated_at":"2025-04-14T01:15:02.341Z","avatar_url":"https://github.com/neofinancial.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ccscan\n\n[![Build status](https://github.com/neofinancial/config-dug/workflows/CI/badge.svg)](https://github.com/neofinancial/ccscan/actions)\n![TypeScript 3.5.3](https://img.shields.io/badge/TypeScript-3.5.3-brightgreen.svg)\n[![codecov.io](https://codecov.io/github/neofinancial/ccscan/coverage.svg)](https://codecov.io/github/neofinancial/ccscan)\n\nScan files for credit card numbers\n\n## Usage\n\n### `npx ccscan`\n\n### Precommit Hook\n\nYou can also add `ccscan` to your project and set it up as a precommit hook that will block any commits that contain card numbers.\n\n#### Add to `package.json`\n\n```json\n\"husky\": {\n  \"hooks\": {\n    \"pre-commit\": \"lint-staged\"\n  }\n},\n\"lint-staged\": {\n  \"*.{ts,tsx,js}\": [\n    \"ccscan\",\n    \"git add\"\n  ]\n}\n```\n\n## Contributing\n\n1. Fork this repo\n1. Clone the forked repo\n1. Install dependencies: `npm i`\n\n### Building\n\n#### `npm run build`\n\nTo clean the build directory run `npm run clean`\n\n### Running Tests\n\n#### `npm run test`\n\n## Publishing\n\n1. Update the version in `package.json`\n1. Add a `CHANGELOG.md` entry\n1. Commit your changes\n1. Run `npm pack` to see what will be published then delete the `.tgz` file that was created\n1. Run `npm publish`\n1. Create a release on GitHub. Use the version as the tag and release name. For example for version `1.0.0` the tag and release name would be `v1.0.0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneofinancial%2Fccscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneofinancial%2Fccscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneofinancial%2Fccscan/lists"}