{"id":15070130,"url":"https://github.com/hsz/webpack-nodesecurity-plugin","last_synced_at":"2025-04-10T17:35:43.577Z","repository":{"id":87703716,"uuid":"118427482","full_name":"hsz/webpack-nodesecurity-plugin","owner":"hsz","description":"Run Node Security check on your package.json file using Webpack","archived":false,"fork":false,"pushed_at":"2018-05-29T08:24:21.000Z","size":45,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T15:11:17.806Z","etag":null,"topics":["javascript","node-security","nodejs","npm","security","webpack"],"latest_commit_sha":null,"homepage":"","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/hsz.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-01-22T08:21:39.000Z","updated_at":"2018-07-23T08:08:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c050d77-0f20-40ec-b6c2-6038028de9b6","html_url":"https://github.com/hsz/webpack-nodesecurity-plugin","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"5e78db186148310b5758fb220695f62e2b024bf6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsz%2Fwebpack-nodesecurity-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsz%2Fwebpack-nodesecurity-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsz%2Fwebpack-nodesecurity-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsz%2Fwebpack-nodesecurity-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsz","download_url":"https://codeload.github.com/hsz/webpack-nodesecurity-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262029,"owners_count":21074230,"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":["javascript","node-security","nodejs","npm","security","webpack"],"created_at":"2024-09-25T01:48:26.900Z","updated_at":"2025-04-10T17:35:43.389Z","avatar_url":"https://github.com/hsz.png","language":"JavaScript","readme":"# Webpack Node Security Plugin\n\n\nWebpack plugin that runs the Node Security Platform audit on your package.json, package-lock.json or npm-shrinkwrap.json.\n\n\u003e NOTE: Webpack plugin is a wrapper for the [nodesecurity/nsp](https://github.com/nodesecurity/nsp) package.\n\n## Install\n\n```bash\nnpm install --save-dev webpack-nodesecurity-plugin\n```\n\n## Usage\n\nIn your `webpack.config.js`\n\n```javascript\nvar NodeSecurityPlugin = require('webpack-nodesecurity-plugin');\n\nmodule.exports = {\n    // ...\n    plugins: [\n      new NodeSecurityPlugin()\n    ]\n};\n```\n\n\n## Options:\n\n```js\nmodule.exports = {\n    // ...\n  plugins: [\n    new NodeSecurityPlugin(options)\n  ]\n}\n```\n\n### `options.reporter`\n\nType: `String`\u003cbr\u003e\nDefault: `summary`\n\nDefines the output format of the vulnerabilities report. Available (built-in) reporters:\n\n- table\n- summary\n- json\n- codeclimate\n- minimal\n\nIt is possible to install 3rd party reporters from npm or create your own one.\n\nFor more information, go to [nodesecurity/nsp#output-reporters](https://github.com/nodesecurity/nsp#output-reporters)\n\n### `options.verbose`\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\nProvide more verbose output.\n\n### `options.quiet`\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\n\n## License\n\nMIT © [Jakub hsz Chrzanowski](https://github.com/hsz)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsz%2Fwebpack-nodesecurity-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsz%2Fwebpack-nodesecurity-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsz%2Fwebpack-nodesecurity-plugin/lists"}