{"id":28158127,"url":"https://github.com/hotaydev/audit-export","last_synced_at":"2025-05-15T09:18:19.159Z","repository":{"id":216970973,"uuid":"742837812","full_name":"hotaydev/audit-export","owner":"hotaydev","description":"A handy tool to export npm audit results to a fully offline HTML page for a better view of your project's vulnerabilities.","archived":false,"fork":false,"pushed_at":"2025-05-07T14:29:18.000Z","size":1182,"stargazers_count":13,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T15:28:43.239Z","etag":null,"topics":["audit","npm-audit","packages","security","vulnerabilities"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/audit-export","language":"EJS","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/hotaydev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"hotaydev","github":"hotaydev","liberapay":"hotaydev"}},"created_at":"2024-01-13T14:19:58.000Z","updated_at":"2025-05-06T13:16:15.000Z","dependencies_parsed_at":"2024-10-28T15:57:56.332Z","dependency_job_id":"acca9b4b-fe8a-441a-80f3-4dfb195d008b","html_url":"https://github.com/hotaydev/audit-export","commit_stats":null,"previous_names":["hotaydev/audit-export"],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotaydev%2Faudit-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotaydev%2Faudit-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotaydev%2Faudit-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotaydev%2Faudit-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotaydev","download_url":"https://codeload.github.com/hotaydev/audit-export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310488,"owners_count":22049470,"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":["audit","npm-audit","packages","security","vulnerabilities"],"created_at":"2025-05-15T09:16:13.467Z","updated_at":"2025-05-15T09:18:19.142Z","avatar_url":"https://github.com/hotaydev.png","language":"EJS","funding_links":["https://opencollective.com/hotaydev","https://github.com/sponsors/hotaydev","https://liberapay.com/hotaydev"],"categories":[],"sub_categories":[],"readme":"# Npm Audit Export 🕵️‍♂️\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.hotay.dev\"\u003e\n    \u003cpicture\u003e\n        \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://www.hotay.dev/logo/logo-light.svg\" width=\"150\"\u003e\n        \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://www.hotay.dev/logo/logo-dark.svg\" width=\"150\"\u003e\n        \u003cimg alt=\"Hotay Logo\" src=\"https://www.hotay.dev/logo/logo-dark.svg\" width=\"150\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A \u003ca href=\"https://www.hotay.dev\"\u003eHotay\u003c/a\u003e project. If you like our work, please \u003ca href=\"https://github.com/hotaydev/\"\u003efollow us on GitHub\u003c/a\u003e!\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/audit-export\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/audit-export?style=flat-square\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/audit-export\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dy/audit-export?style=flat-square\" alt=\"npm downloads\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/hotaydev/audit-export/blob/main/LICENSE\"\u003e\n    \u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/hotaydev/audit-export?style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA convenient tool to **export npm audit results** to a comprehensive **offline HTML page**, providing a clear overview of your project's vulnerabilities.\n\n\u003cdiv align=\"center\" width=\"100%\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/hotaydev/audit-export/refs/heads/main/.github/images/screenshot.jpg\" alt=\"Screenshot of the output of audit-export\"/\u003e\u003cbr/\u003e\n    \u003csub align=\"center\"\u003eExample of the output file from audit-export\u003c/sub\u003e\n\u003c/div\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n\u003e Inspired by [npm-audit-html](https://www.npmjs.com/package/npm-audit-html), but with more Node.js versions supported, offline support and lightweight ⚡\n\n## Table of Contents\n\n- [Main Features](#main-features)\n- [Compatibility](#compatibility)\n- [Supported Audit Tools](#supported-audit-tools)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Download](#download)\n- [License](#license)\n\n## Main Features\n\n- **Lightweight \u0026 Efficient**\n- **Fully Offline Functionality**\n- **Advanced Filters, Search, and Ordering**\n- **Tags Filtering Supported**\n- **Supports projects since Node v10**\n- **Download results as CSV or JSON**\n\n## Compatibility\n\n**This package supports Node.js versions 10 through 22, as well as future versions.**\n\n## Supported Audit Tools\n\nThis tool processes the JSON output from your audit tool. It works with:\n\n- `npm audit --json`\n- `pnpm audit --json`\n- `yarn audit --json`\n\n## Installation\n\nInstall globally using your preferred package manager:\n\n```bash\nnpm install -g audit-export\npnpm install -g audit-export\nyarn global add audit-export\n```\n\n## Usage\n\nPipe the JSON output from your audit command into `audit-export`:\n\n```bash\nnpm audit --json | audit-export\npnpm audit --json | audit-export\nyarn audit --json | audit-export\n```\n\nCustomize the output path and HTML title:\n\n```bash\nnpm audit --json | audit-export --path \u003coutput_path\u003e --title \u003creport_title\u003e [--open]\n```\n\n- `--path`: output file or directory (default: `./audit-report.html`)\n- `--title`: HTML report title (default: `NPM Audit Report`)\n- `--open`: automatically open the report in your default browser\n\nFor all options and advanced usage, run:\n\n```bash\naudit-export --help\n```\n\n## Usage Syntax Breaking Changes\n\nIn versions **lower or equal than 3**, folder and file were separate parameters. **After version 4** both were merged into a single `--path` parameter, that can be the folder, the file, or both. Previously it was `--folder` and `--file`, now removed parameters.\n\n## Contributing\n\nWe welcome contributions from the community! Feel free to open issues and submit pull requests on our [GitHub Issues page](https://github.com/hotaydev/audit-export/issues). Your feedback and suggestions are highly appreciated.\n\n## Download\n\nYou can download the package from [npm](https://www.npmjs.com/package/audit-export).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/hotaydev/audit-export/blob/main/LICENSE) file for details.\n\nHappy auditing! 🛡️🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotaydev%2Faudit-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotaydev%2Faudit-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotaydev%2Faudit-export/lists"}