{"id":16373189,"url":"https://github.com/bbqsrc/huggare-audit","last_synced_at":"2025-07-09T14:06:46.515Z","repository":{"id":66192620,"uuid":"44368397","full_name":"bbqsrc/huggare-audit","owner":"bbqsrc","description":"Audit with Huggare.","archived":false,"fork":false,"pushed_at":"2015-10-16T07:12:05.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T03:04:56.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbqsrc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-16T07:08:04.000Z","updated_at":"2015-10-16T07:08:53.000Z","dependencies_parsed_at":"2023-02-20T00:00:56.644Z","dependency_job_id":null,"html_url":"https://github.com/bbqsrc/huggare-audit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbqsrc/huggare-audit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fhuggare-audit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fhuggare-audit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fhuggare-audit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fhuggare-audit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbqsrc","download_url":"https://codeload.github.com/bbqsrc/huggare-audit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbqsrc%2Fhuggare-audit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260868849,"owners_count":23074959,"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":[],"created_at":"2024-10-11T03:13:36.964Z","updated_at":"2025-06-20T03:05:25.557Z","avatar_url":"https://github.com/bbqsrc.png","language":"JavaScript","readme":"# huggare-audit\n\nAudit with Huggare.\n\n## Usage\n\n```javascript\nvar Severities = require('huggare').Severities,\n    Log = require('huggare-log'),\n    Auditor = require('huggare-audit');\n\n// Assumes a user object containing at least a `username` prop.\nvar user = {\n  username: 'test'\n};\n\nvar audit = new Auditor('TAG', user, [\n  'loggedIn',\n  'loggedOut',\n  {\n    name: 'brokeEverything',\n    severity: Severities.ERROR,\n    message: 'wrecked up the place'\n  }\n], Log);\n\naudit.loggedIn();\n// -\u003e 2015-10-16T06:58:26.322Z [I] AUDIT: (test) logged in\n\naudit.loggedOut();\n// -\u003e 2015-10-16T06:58:27.581Z [I] AUDIT: (test) logged out\n\naudit.brokeEverything();\n// -\u003e 2015-10-16T06:58:29.056Z [E] AUDIT: (test) wrecked up the place\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fhuggare-audit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbqsrc%2Fhuggare-audit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbqsrc%2Fhuggare-audit/lists"}