{"id":22092203,"url":"https://github.com/pirxpilot/esbuild-plugin-drop","last_synced_at":"2025-03-23T23:45:33.416Z","repository":{"id":41382266,"uuid":"509332947","full_name":"pirxpilot/esbuild-plugin-drop","owner":"pirxpilot","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-04T09:32:04.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T22:04:52.180Z","etag":null,"topics":["esbuild","esbuild-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pirxpilot.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","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":"2022-07-01T05:36:16.000Z","updated_at":"2024-01-05T19:47:25.000Z","dependencies_parsed_at":"2023-01-30T19:45:50.792Z","dependency_job_id":null,"html_url":"https://github.com/pirxpilot/esbuild-plugin-drop","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fesbuild-plugin-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fesbuild-plugin-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fesbuild-plugin-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fesbuild-plugin-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirxpilot","download_url":"https://codeload.github.com/pirxpilot/esbuild-plugin-drop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186927,"owners_count":20574554,"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":["esbuild","esbuild-plugin"],"created_at":"2024-12-01T03:08:45.609Z","updated_at":"2025-03-23T23:45:33.393Z","avatar_url":"https://github.com/pirxpilot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version][npm-image]][npm-url]\n[![Build Status][build-image]][build-url]\n[![Dependency Status][deps-image]][deps-url]\n\n# esbuild-plugin-drop\n\n[esbuild] plugin for removing `assert`, `debug` etc.  \nWorks like [mini-unassert] but for [esbuild].\n\n## Install\n\n```sh\n$ npm install --save esbuild-plugin-drop\n```\n\n## Usage\n\nLike any other [esbuild plugin].\n\n```js\nconst dropPlugin = require('esbuild-plugin-drop');\n\n// by default only `assert` is dropped\n// you can pass an array of module names though\nconst drop = dropPlugin({ modules: ['assert', 'debug'] })\n\nrequire('esbuild')\n  .build({\n    entryPoints: ['app.js'],\n    bundle: true,\n    outfile: 'out.js',\n    plugins: [drop],\n  })\n  .catch(() =\u003e process.exit(1))\n```\n\n## License\n\nApache-2.0 © 2002 [Damian Krzeminski](https://pirxpilot.me)  \nApache-2.0 © 2018 [Renée Kooi](mailto:renee@kooi.me)\n\n[esbuild]:https://esbuild.github.io/\n[esbuild plugin]: https://esbuild.github.io/plugins/#using-plugins\n[mini-unassert]: https://npmjs.org/package/mini-unassert\n\n[npm-image]: https://img.shields.io/npm/v/esbuild-plugin-drop\n[npm-url]: https://npmjs.org/package/esbuild-plugin-drop\n\n[build-url]: https://github.com/pirxpilot/esbuild-plugin-drop/actions/workflows/check.yaml\n[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/esbuild-plugin-drop/check.yaml?branch=main\n\n[deps-image]: https://img.shields.io/librariesio/release/npm/esbuild-plugin-drop\n[deps-url]: https://libraries.io/npm/esbuild-plugin-drop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fesbuild-plugin-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirxpilot%2Fesbuild-plugin-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fesbuild-plugin-drop/lists"}