{"id":16805960,"url":"https://github.com/haltcase/babel-standalone","last_synced_at":"2026-05-20T15:01:52.455Z","repository":{"id":57102007,"uuid":"167129390","full_name":"haltcase/babel-standalone","owner":"haltcase","description":"A smaller customized version of @babel/standalone.","archived":false,"fork":false,"pushed_at":"2019-01-24T05:44:02.000Z","size":1694,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T19:16:20.776Z","etag":null,"topics":["babel","browser","small","standalone"],"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/haltcase.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":"2019-01-23T06:24:16.000Z","updated_at":"2021-12-27T19:44:54.000Z","dependencies_parsed_at":"2022-08-20T22:10:06.707Z","dependency_job_id":null,"html_url":"https://github.com/haltcase/babel-standalone","commit_stats":null,"previous_names":["citycide/babel-standalone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haltcase%2Fbabel-standalone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haltcase%2Fbabel-standalone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haltcase%2Fbabel-standalone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haltcase%2Fbabel-standalone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haltcase","download_url":"https://codeload.github.com/haltcase/babel-standalone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244011273,"owners_count":20383382,"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":["babel","browser","small","standalone"],"created_at":"2024-10-13T09:49:45.466Z","updated_at":"2026-05-20T15:01:47.414Z","avatar_url":"https://github.com/haltcase.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @citycide/babel-standalone \u0026middot; [![Version](https://flat.badgen.net/npm/v/@citycide/babel-standalone)](https://www.npmjs.com/package/@citycide/babel-standalone) [![License](https://flat.badgen.net/npm/license/@citycide/babel-standalone)](https://www.npmjs.com/package/@citycide/babel-standalone) [![JavaScript Standard Style](https://flat.badgen.net/badge/code%20style/standard/green)](https://standardjs.com)\n\n\u003e A smaller customized version of [`@babel/standalone`][babel-standalone].\n\nThe official `@babel/standalone` has grown very large in recent releases,\nat almost 6 MB minified. For use cases like [`param.macro`][param-macro]'s\nonline [**playground**][playground] where only a subset of transforms is\nneeded, that size isn't ideal. `@citycide/babel-standalone` is reduced to\nabout 1.73 MB minified.\n\nThis project is based on the effort by [**@joncasey**](https://github.com/joncasey)\non [`my-babel-standalone`][my-babel-standalone].\n\n## usage\n\nYou can use the minified source directly on a page using [unpkg][unpkg]:\n\n```html\n\u003cscript src=\"https://unpkg.com/@citycide/babel-standalone\"\u003e\u003c/script\u003e\n```\n\nor by installing locally (i.e. for bundling):\n\n```console\n# using yarn\nyarn add @citycide/babel-standalone\n\n# using npm\nnpm i @citycide/babel-standalone\n```\n\n## development\n\n1. Clone the repo: `git clone https://github.com/citycide/babel-standalone.git`\n2. Move into the new directory: `cd babel-standalone`\n3. Install dependencies: `yarn` or `npm install`\n4. Build from source: `yarn build` or `npm run build`\n\nAny plugins needed in the final bundle should be added as dependencies, where\nthe update script will pull them from automatically. This update script is run\nbefore every build or can be manually run with `yarn update` or `npm run update`.\n\nThe version of the package itself is tied to the version of `@babel/preset-env`\nused, so both can and should be updated by editing _only_ the `@babel/preset-env`\nversion in `package.json`. Running `yarn update` will then fetch the new version\nand make this package's version match it.\n\n## see also\n\n* [`param.macro`][param-macro] \u0026ndash; a [babel macro][babel-plugin-macros] for compile-time partial application in JavaScript\n* [`@babel/standalone`][babel-standalone] \u0026ndash; the official standalone Babel package\n* [`my-babel-standalone`][my-babel-standalone] \u0026ndash; another minimal version by [**@joncasey**](https://github.com/joncasey)\n\n## license\n\nMIT © [Bo Lingen / citycide](https://github.com/citycide)\n\nBased on code also under MIT © [**@joncasey**](https://github.com/joncasey)\n\n[babel-standalone]: https://github.com/babel/babel/tree/master/packages/babel-standalone\n[my-babel-standalone]: https://github.com/joncasey/my-babel-standalone\n[unpkg]: https://unpkg.com\n[param-macro]: https://github.com/citycide/param.macro\n[babel-plugin-macros]: https://github.com/kentcdodds/babel-plugin-macros\n[playground]: https://citycide.github.io/param.macro\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaltcase%2Fbabel-standalone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaltcase%2Fbabel-standalone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaltcase%2Fbabel-standalone/lists"}