{"id":17375907,"url":"https://github.com/drewml/lazy-babylon-to-estree","last_synced_at":"2026-05-17T15:02:10.215Z","repository":{"id":72799314,"uuid":"116203775","full_name":"DrewML/lazy-babylon-to-estree","owner":"DrewML","description":"Lazily transform a Babylon AST into an ESTree AST","archived":false,"fork":false,"pushed_at":"2018-01-04T05:44:29.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T22:29:08.181Z","etag":null,"topics":["babel","babylon","estree"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/DrewML.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-04T02:18:08.000Z","updated_at":"2018-01-31T14:37:52.000Z","dependencies_parsed_at":"2023-02-24T02:16:00.958Z","dependency_job_id":null,"html_url":"https://github.com/DrewML/lazy-babylon-to-estree","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"13cf90901bde8106d9d98d41ee7fa533690024eb"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Flazy-babylon-to-estree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Flazy-babylon-to-estree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Flazy-babylon-to-estree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Flazy-babylon-to-estree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrewML","download_url":"https://codeload.github.com/DrewML/lazy-babylon-to-estree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245916256,"owners_count":20693389,"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","babylon","estree"],"created_at":"2024-10-16T04:04:12.978Z","updated_at":"2026-05-17T15:02:05.162Z","avatar_url":"https://github.com/DrewML.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazy-babylon-to-estree\n\n[![CircleCI](https://circleci.com/gh/DrewML/lazy-babylon-to-estree.svg?style=svg)](https://circleci.com/gh/DrewML/lazy-babylon-to-estree)\n\nWIP: Lazily \"convert\" a Babylon AST to the ESTree equivalent. Currently only converts `Literal`s. For the time being, the goal of this project is only to support the bare minimum transformations needed by `webpack`.\n\n## Changelog\n\nSee [`Releases`](https://github.com/DrewML/lazy-babylon-to-estree/releases)\n\n## Features\n\n* Conversions happen lazily when a property on the AST is accessed\n* Original AST is not mutated (besides 1 non-enumerable, symbol-keyed prop on the `Program` node)\n* Referential Equality between nodes is maintained (`===`)\n* Transformations occur as other code traverses the tree (this module does not perform a separate traversal of the AST)\n\n## Why?\n\nThis is an experiment I'm doing with `webpack` and `babel-loader` to try and prevent the double parsing of code, without having to create an entire transformed copy of the AST each time we go from `babel-loader` \u003e\u003e `webpack`. It's possible this will have no positive performance impact (or will even have a negative perf impact), but I'd never know if I didn't write the code 🕺.\n\n## Missing Features/TODO\n\n* `ObjectProperty` and `ObjectMethod` \u003e\u003e `Property`\n* `ClassMethod` \u003e\u003e `MethodDefinition`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Flazy-babylon-to-estree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewml%2Flazy-babylon-to-estree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Flazy-babylon-to-estree/lists"}