{"id":18429436,"url":"https://github.com/bigpipe/plugin-minifier","last_synced_at":"2025-07-31T01:36:14.131Z","repository":{"id":66257333,"uuid":"37463118","full_name":"bigpipe/plugin-minifier","owner":"bigpipe","description":"Minification plugin for the compiler","archived":false,"fork":false,"pushed_at":"2016-11-16T20:45:08.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T22:59:13.555Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigpipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null}},"created_at":"2015-06-15T12:15:59.000Z","updated_at":"2015-06-17T10:17:30.000Z","dependencies_parsed_at":"2023-02-22T16:30:15.251Z","dependency_job_id":null,"html_url":"https://github.com/bigpipe/plugin-minifier","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bigpipe/plugin-minifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigpipe%2Fplugin-minifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigpipe%2Fplugin-minifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigpipe%2Fplugin-minifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigpipe%2Fplugin-minifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigpipe","download_url":"https://codeload.github.com/bigpipe/plugin-minifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigpipe%2Fplugin-minifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267972869,"owners_count":24174393,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T05:17:10.998Z","updated_at":"2025-07-31T01:36:14.084Z","avatar_url":"https://github.com/bigpipe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigPipe - Plugin Minifier\n\n[![Version npm][version]](http://browsenpm.org/package/bigpipe-minifier)[![Build Status][build]](https://travis-ci.org/bigpipe/plugin-minifier)[![Dependencies][david]](https://david-dm.org/bigpipe/plugin-minifier)[![Coverage Status][cover]](https://coveralls.io/r/bigpipe/plugin-minifier?branch=master)\n\n[version]: http://img.shields.io/npm/v/bigpipe-minifier.svg?style=flat-square\n[build]: http://img.shields.io/travis/bigpipe/plugin-minifier/master.svg?style=flat-square\n[david]: https://img.shields.io/david/bigpipe/plugin-minifier.svg?style=flat-square\n[cover]: http://img.shields.io/coveralls/bigpipe/plugin-minifier/master.svg?style=flat-square\n\nMinification plugin for the compiler. Currently, only `uglify-js` and `clean-css`\nare supported. Additional minifiers can easily be added, PR's are welcomed.\n\n### Install\n\nTo install the plugin with the default minification tools:\n\n```bash\nnpm install bigpipe-minifier uglify-js clean-css --save\n```\n\n### Usage\n\nThe tools that are used for minification have to be passed specifically. This\nmodule deliberatly does not ship all required modules. Either a JS or CSS\nminifier can be passed, or both. The properties on the configuration object will\nbe passed as options to the minification tool. For example, `bare_returns` and\n`screw_ie8` are passed as options to `uglify-js`.\n\n```js\nvar minifier = require('bigpipe-minifier')\n  , BigPipe = require('bigpipe');\n\nBigPipe.createServer(8080, {\n minifier: {\n    css: {\n      name: 'clean-css',\n      tool: require('clean-css')\n    },\n    js: {\n      name: 'uglify-js',\n      tool: require('uglify-js'),\n      bare_returns: true,\n      screw_ie8: true\n    }\n  },\n  plugins: [ minifier ]\n});\n```\n\nThe plugin will capture any emitted `register` events from the compiler and\nminify the file content just before it is saved to disk.\n\n### License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigpipe%2Fplugin-minifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigpipe%2Fplugin-minifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigpipe%2Fplugin-minifier/lists"}