{"id":18095222,"url":"https://github.com/sindresorhus/gulp-micro","last_synced_at":"2025-04-13T09:36:15.505Z","repository":{"id":12933513,"uuid":"15611277","full_name":"sindresorhus/gulp-micro","owner":"sindresorhus","description":"Ensure your micro-lib stays micro","archived":false,"fork":false,"pushed_at":"2023-11-01T16:54:01.000Z","size":31,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T22:38:25.395Z","etag":null,"topics":["gulp-plugin","javascript","nodejs"],"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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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,"governance":null}},"created_at":"2014-01-03T14:29:47.000Z","updated_at":"2024-04-27T06:31:38.000Z","dependencies_parsed_at":"2023-11-19T19:47:06.211Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/gulp-micro","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.03448275862068961,"last_synced_commit":"9ec1e8e25ca517e936c0425e1f56c669c07aa521"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-micro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-micro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-micro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgulp-micro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/gulp-micro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246141665,"owners_count":20729984,"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":["gulp-plugin","javascript","nodejs"],"created_at":"2024-10-31T19:09:39.604Z","updated_at":"2025-03-29T06:31:31.347Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","readme":"# gulp-micro\n\n\u003e Ensure your micro-lib stays micro\n\n\u003cimg src=\"screenshot.png\" width=\"643\"\u003e\n\nUseful when paired with a CI to verify that all pull-requests are within the size limit.\n\n## Install\n\n```sh\nnpm install --save-dev gulp-micro\n```\n\n## Usage\n\n```js\nimport gulp from 'gulp';\nimport micro from 'gulp-micro';\n\nexport default () =\u003e (\n\tgulp.src('src/app.js')\n\t\t.pipe(micro({limit: 1000}))\n\t\t.pipe(gulp.dest('dist'))\n);\n```\n\n## API\n\n## micro(options?)\n\n### options\n\nType: `object`\n\n#### limit\n\n*Required*\\\nType: `number`\n\nFile size limit in bytes.\n\n## Tip\n\nPlace [gulp-gzip](https://github.com/jstuckey/gulp-gzip) before this plugin to limit the gzipped size.\n","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgulp-micro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fgulp-micro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgulp-micro/lists"}