{"id":17548273,"url":"https://github.com/sparkpost/auditmated","last_synced_at":"2025-04-24T02:12:52.274Z","repository":{"id":57186716,"uuid":"134735389","full_name":"SparkPost/auditmated","owner":"SparkPost","description":"Automated npm auditing","archived":false,"fork":false,"pushed_at":"2020-06-18T02:37:02.000Z","size":17,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-04-24T02:12:43.938Z","etag":null,"topics":["bash","npm","security","sp-utils"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SparkPost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-24T15:33:09.000Z","updated_at":"2021-01-14T01:11:17.000Z","dependencies_parsed_at":"2022-09-14T16:22:26.317Z","dependency_job_id":null,"html_url":"https://github.com/SparkPost/auditmated","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fauditmated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fauditmated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fauditmated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SparkPost%2Fauditmated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SparkPost","download_url":"https://codeload.github.com/SparkPost/auditmated/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250546087,"owners_count":21448260,"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":["bash","npm","security","sp-utils"],"created_at":"2024-10-21T02:05:12.660Z","updated_at":"2025-04-24T02:12:52.258Z","avatar_url":"https://github.com/SparkPost.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auditmated\nAutomated npm auditing\n\n# Usage\n\nThe `auditmated` binary will run `npm audit fix` in the current repo. If `package.json` and `package-lock.json` have been updated `auditmated` will commit those changes\nwith a commit message of `\u003cbranch-name\u003e npm audit fix`. This will fix any problems identified by `npm audit` that can be fixed by patch or minor version bumps.\n\n`auditmated` only supports bash.\n\n# Example with Husky\n\nThis will run auditing as a pre-push hook using [husky](https://www.npmjs.com/package/husky):\n\n```json\n{\n  \"name\": \"audit-test\",\n  \"version\": \"1.0.0\",\n  \"main\": \"index.js\",\n  \"husky\": {\n    \"hooks\": {\n      \"pre-push\": \"auditmated\"\n    }\n  },\n  \"devDependencies\": {\n    \"auditmated\": \"0.1.0\",\n    \"husky\": \"^1.0.0\"\n  }\n}\n```\n\nIf you are using Husky v0, define as a `prepush` script.\n\n```json\n{\n  \"name\": \"audit-test\",\n  \"version\": \"1.0.0\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"prepush\": \"auditmated\"\n  },\n  \"devDependencies\": {\n    \"auditmated\": \"0.1.0\",\n    \"husky\": \"^0.14.3\"\n  }\n}\n```\n\n## Skipping Auditing\n\n`auditmated` will not run for `master`, `main`, or `develop` branches. If you are using `husky`, you can use the `--no-verify` command line option to skip running auditing on any other branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fauditmated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkpost%2Fauditmated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkpost%2Fauditmated/lists"}