{"id":18867631,"url":"https://github.com/simplrjs/glob-uglifyjs","last_synced_at":"2025-04-14T14:31:34.586Z","repository":{"id":57145049,"uuid":"70701728","full_name":"SimplrJS/glob-uglifyjs","owner":"SimplrJS","description":"Uglify JS files with glob pattern.","archived":false,"fork":false,"pushed_at":"2017-11-02T18:40:14.000Z","size":69,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T03:32:32.633Z","etag":null,"topics":["glob","glob-pattern","glob-uglifyjs","uglify-files","uglifyjs","uglifyjs-folder"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SimplrJS.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":"2016-10-12T13:17:58.000Z","updated_at":"2023-12-19T17:39:28.000Z","dependencies_parsed_at":"2022-08-22T18:50:43.808Z","dependency_job_id":null,"html_url":"https://github.com/SimplrJS/glob-uglifyjs","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplrJS%2Fglob-uglifyjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplrJS%2Fglob-uglifyjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplrJS%2Fglob-uglifyjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplrJS%2Fglob-uglifyjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplrJS","download_url":"https://codeload.github.com/SimplrJS/glob-uglifyjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248897174,"owners_count":21179551,"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":["glob","glob-pattern","glob-uglifyjs","uglify-files","uglifyjs","uglifyjs-folder"],"created_at":"2024-11-08T05:10:28.859Z","updated_at":"2025-04-14T14:31:34.326Z","avatar_url":"https://github.com/SimplrJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"glob-uglifyjs\r\n===========\r\nUglify JS files with glob pattern.\r\n\r\n\r\n## Installation\r\n```sh\r\n$ npm install glob-uglifyjs\r\n```\r\n\r\n\r\n## Features\r\n - Uglify `js` files with [node-glob](https://github.com/isaacs/node-glob) pattern.\r\n - Remove source files after uglify.\r\n\r\n\r\n## Command line\r\n\r\n### Usage\r\n```sh\r\n$ glob-uglifyjs -h\r\n```\r\n\r\n### Arguments\r\n| Argument                       | Type    | Default                     | Description                |\r\n|--------------------------------|---------|-----------------------------|----------------------------|\r\n|  -h, --help                    | boolean | `false`                     | Show help.                 | \r\n|  -p, --pattern \u003csup\u003e[*]\u003c/sup\u003e  | string  |                             | Files glob pattern.        | \r\n|  -v, --version                 | boolean | `false`                     | Show version number.       | \r\n|  -c, --config                  | string  | `glob-uglifyjs.config.json` | Path to JSON config file.  | \r\n\r\n\u003csup\u003e[*]\u003c/sup\u003e - argument required.\r\n\r\n\r\n## Config\r\n\r\n### Example\r\n```json\r\n{\r\n    \"pattern\": \"/**/*\",\r\n    \"options\": {\r\n        \"UseMinExt\": false,\r\n        \"MinifyOptions\": {},\r\n        \"OutDir\": \"dist-min\",\r\n        \"RootDir\": \"dist\",\r\n        \"RemoveSource\": false,\r\n        \"Debug\": false\r\n    }\r\n}\r\n```\r\n\r\n### Properties\r\n\r\n| Property                | Type                | Description            |\r\n|-------------------------|---------------------|------------------------|\r\n|  pattern\u003csup\u003e[*]\u003c/sup\u003e  | string              | Files glob pattern.    |\r\n|  options                | [Options](#options) | glob-uglifyjs options. |\r\n\r\n\u003csup\u003e[*]\u003c/sup\u003e - property required.\r\n\r\n### Options\r\n| Option          | Type               | Default         | Description                                                                        |\r\n|-----------------|--------------------|-----------------|------------------------------------------------------------------------------------|\r\n|  UseMinExt      | `boolean`            | `true`          | Use `min` extensions in output files.                                              | \r\n|  MinifyOptions  | `Object`             | `{}`            | UglifyJS minify options. [Read more](https://github.com/mishoo/UglifyJS2).         |\r\n|  OutDir         | `string`             | ` `             | Redirect output structure to the directory.                                        |\r\n|  RootDir        | `string`             | ` `             | Specifies the root directory of input files.                                       |\r\n|  RemoveSource   | `boolean`            | `false`         | Remove all source files specified by glob pattern.                                 |\r\n|  Debug          | `boolean`            | `false`         | Show errors details information.                                                   |\r\n|  Silence        | `boolean`            | `false`         | Silence all messages in console.                                                   |\r\n|  Exclude      | `string` \\| `string[]` | `undefined`     | Add a pattern or an array of glob patterns to exclude matches. Read more in [node-glob options](https://github.com/isaacs/node-glob#options) `ignore`. |\r\n|  Cwd            | `string`             | `process.cwd()` | Current working directory.                                                         |\r\n\r\n\r\n## License\r\nReleased under the [MIT license](LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplrjs%2Fglob-uglifyjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplrjs%2Fglob-uglifyjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplrjs%2Fglob-uglifyjs/lists"}