{"id":13507827,"url":"https://github.com/elixirscript/elixir-estree","last_synced_at":"2025-12-12T00:28:03.066Z","repository":{"id":27459342,"uuid":"30938278","full_name":"elixirscript/elixir-estree","owner":"elixirscript","description":"The ESTree Nodes and JavaScript AST to JavaScript Code Generator in Elixir","archived":false,"fork":false,"pushed_at":"2019-07-29T15:18:53.000Z","size":181,"stargazers_count":103,"open_issues_count":1,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-09-16T17:48:16.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elixirscript.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-02-17T21:18:51.000Z","updated_at":"2024-06-24T15:31:54.000Z","dependencies_parsed_at":"2022-09-03T23:52:25.110Z","dependency_job_id":null,"html_url":"https://github.com/elixirscript/elixir-estree","commit_stats":null,"previous_names":["bryanjos/elixir-estree"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixirscript%2Felixir-estree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixirscript%2Felixir-estree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixirscript%2Felixir-estree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elixirscript%2Felixir-estree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elixirscript","download_url":"https://codeload.github.com/elixirscript/elixir-estree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224253480,"owners_count":17280934,"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-01T02:00:40.281Z","updated_at":"2025-12-12T00:28:03.003Z","avatar_url":"https://github.com/elixirscript.png","language":"Elixir","readme":"## Elixir-ESTree [![Documentation](https://img.shields.io/badge/docs-hexpm-blue.svg)](http://hexdocs.pm/estree/) [![Downloads](https://img.shields.io/hexpm/dt/estree.svg)](https://hex.pm/packages/estree) [![Build Status](https://travis-ci.org/elixirscript/elixir-estree.svg?branch=master)](https://travis-ci.org/elixirscript/elixir-estree)\n\n\nDefines structs that represent the JavaScript AST nodes from the ESTree spec. \n\n[ESTree Spec](https://github.com/estree/estree)\n\n[JSX AST Spec](https://github.com/facebook/jsx)\n\nAlso includes a JavaScript AST to JavaScript code generator.\n\n```elixir\nalias ESTree.Tools.Builder\nalias ESTree.Tools.Generator\n\nast = Builder.array_expression([\n  Builder.literal(1),\n  Builder.identifier(:a)\n])\n\nGenerator.generate(ast)\n# \"[1, a]\"\n\n#jsx ast and generation\n    ast = Builder.jsx_element(\n      Builder.jsx_opening_element(\n        Builder.jsx_identifier(\n          \"Test\"\n        )\n      ),\n      [],\n      Builder.jsx_closing_element(\n        Builder.jsx_identifier(\n          \"Test\"\n        )\n      )\n    )\n    \nGenerator.generate(ast)\n# \"\u003cTest\u003e\u003c/Test\u003e\"\n```\n","funding_links":[],"categories":["ECMAScript","Elixir"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixirscript%2Felixir-estree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felixirscript%2Felixir-estree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felixirscript%2Felixir-estree/lists"}