{"id":13600731,"url":"https://github.com/egoist/esbuild-service","last_synced_at":"2025-04-14T19:53:09.893Z","repository":{"id":45275215,"uuid":"280629999","full_name":"egoist/esbuild-service","owner":"egoist","description":"esbuild as a service. bundle any npm package on the fly as you request.","archived":false,"fork":false,"pushed_at":"2021-12-25T14:17:30.000Z","size":44,"stargazers_count":109,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T08:12:01.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://esbuild.vercel.app","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/egoist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-18T10:08:20.000Z","updated_at":"2024-11-05T00:44:33.000Z","dependencies_parsed_at":"2022-09-26T18:21:16.081Z","dependency_job_id":null,"html_url":"https://github.com/egoist/esbuild-service","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fesbuild-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fesbuild-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fesbuild-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fesbuild-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/esbuild-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248951932,"owners_count":21188420,"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":[],"created_at":"2024-08-01T18:00:47.400Z","updated_at":"2025-04-14T19:53:09.874Z","avatar_url":"https://github.com/egoist.png","language":"Go","funding_links":["https://github.com/sponsors/egoist"],"categories":["Go","Go Ecosystem"],"sub_categories":[],"readme":"# esbuild-service\n\n[esbuild](https://github.com/evanw/esbuild) as a service.\n\n## Install\n\n```bash\ncurl -sf https://gobinaries.com/egoist/esbuild-service | sh\n```\n\nThen `esbuild-service` command will be available.\n\n## How does this work\n\nThis service uses esbuild to bundle dependecies, we convert package names to [skypack.dev](https://skypack.dev) URLs to retrive the content on the fly.\n\n## Development\n\n```bash\n# Start server\nair\n# the open http://localhost:8080\n\n# Build\nmake build\n# then run `./esbuilds-service`\n```\n\n## Docs\n\n### Environment variables\n\n- `PORT`: Server port, defaults to `8080`.\n\n### `/*pkg`\n\nBuild an npm package, `pkg` can be:\n\n- A bare name like `vue`\n- Name with version: `vue@3.0.0-rc.1`\n- Name, version and a file path: `preact@10/compact`\n\nQuery parameters:\n\n- `format`: Bundle format, defaults to `esm`, available values: `cjs`, `iife`\n- `globalName`: Global variable name for `iife` bundle.\n- `minify`: Minification, default to `true`.\n\n## License\n\nMIT \u0026copy; [EGOIST](https://github.com/sponsors/egoist)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fesbuild-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fesbuild-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fesbuild-service/lists"}