{"id":26821558,"url":"https://github.com/mattlean/asset-list-webpack-plugin","last_synced_at":"2026-05-02T13:31:58.807Z","repository":{"id":57185101,"uuid":"153269011","full_name":"mattlean/asset-list-webpack-plugin","owner":"mattlean","description":"webpack plugin that outputs a list of generated assets from the bundle","archived":false,"fork":false,"pushed_at":"2019-01-14T10:28:42.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T01:42:58.679Z","etag":null,"topics":["asset-list-webpack-plugin","javascript","json","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mattlean.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-10-16T10:43:39.000Z","updated_at":"2020-09-05T12:50:45.000Z","dependencies_parsed_at":"2022-09-14T10:11:05.408Z","dependency_job_id":null,"html_url":"https://github.com/mattlean/asset-list-webpack-plugin","commit_stats":null,"previous_names":["isaaclean/asset-list-webpack-plugin"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mattlean/asset-list-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlean%2Fasset-list-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlean%2Fasset-list-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlean%2Fasset-list-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlean%2Fasset-list-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattlean","download_url":"https://codeload.github.com/mattlean/asset-list-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattlean%2Fasset-list-webpack-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32536576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T12:25:33.646Z","status":"ssl_error","status_checked_at":"2026-05-02T12:24:51.733Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["asset-list-webpack-plugin","javascript","json","webpack-plugin"],"created_at":"2025-03-30T07:31:18.616Z","updated_at":"2026-05-02T13:31:58.785Z","avatar_url":"https://github.com/mattlean.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/asset-list-webpack-plugin.svg?colorB=brightgreen)](https://www.npmjs.com/package/asset-list-webpack-plugin)\n\n# Asset List Webpack Plugin\nThis is a [webpack](https://webpack.js.org) plugin that outputs a simple list of generated assets with your webpack bundle.\n\n## Install\n`npm install --save-dev asset-list-webpack-plugin`\n\n## Usage\nThe plugin will generate a JSON file that lists all of the generated assets from the webpack bundle process. The format of this list can be changed by setting different options.\n\nHere is a basic example utilizing a simple config from the [webpack Getting Started guide](https://webpack.js.org/guides/getting-started):\n\n**webpack.config.js**\n```javascript\nconst path = require('path');\n\nconst AssetListWebpackPlugin = require('asset-list-webpack-plugin');\n\nmodule.exports = {\n  entry: './src/index.js',\n  output: {\n    filename: 'main.js',\n    path: path.resolve(__dirname, 'dist')\n  },\n  plugins:  [new AssetListWebpackPlugin()]\n};\n\n```\n\nThis will generate a JSON file in the output path containing the following:\n\n**assets.json**\n```json\n[{\n  \"filename\": \"main.js\",\n  \"name\": \"main\",\n  \"type\": \"js\"\n}]\n```\n\nAdditionally, you pass an object of options to change the format of the JSON file like so:\n\n**webpack.config.js**\n```javascript\nconst path = require('path');\n\nconst AssetListWebpackPlugin = require('asset-list-webpack-plugin');\n\nmodule.exports = {\n  entry: './src/index.js',\n  output: {\n    filename: 'main.js',\n    path: path.resolve(__dirname, 'dist')\n  },\n  plugins:  [new AssetListWebpackPlugin({\n    name: 'file-list',\n    format: 'object',\n    key: 'name'\n  })]\n};\n\n```\n\nThis will generate a JSON file that contains the following:\n\n**file-list.json**\n```json\n{\n  \"main\": {\n    \"filename\": \"main.js\",\n    \"name\": \"main\",\n    \"type\": \"js\"\n  }\n}\n```\n\n## Options\n| Name | Type | Default | Description |\n|---|---|---|---|\n| **name** | `{String}` | `'assets'` | Name of generated JSON file |\n| **format** | `{'array'\\|'object'}` | `'array'` | Format of generated JSON file |\n| **key** | `{'filename'\\|'name'\\|'type'\\|'fingerprint'}` | `'filename'` | Set keys for object formatted JSON file |\n\n## License\nThis open source project is licensed under the [MIT License](https://choosealicense.com/licenses/mit).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattlean%2Fasset-list-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattlean%2Fasset-list-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattlean%2Fasset-list-webpack-plugin/lists"}