{"id":15617024,"url":"https://github.com/anikethsaha/acorn-do-expressions","last_synced_at":"2025-03-29T15:24:23.376Z","repository":{"id":57156011,"uuid":"293583429","full_name":"anikethsaha/acorn-do-expressions","owner":"anikethsaha","description":"https://github.com/tc39/proposal-do-expressions","archived":false,"fork":false,"pushed_at":"2020-09-08T17:04:56.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:51:01.596Z","etag":null,"topics":["acorn","parser"],"latest_commit_sha":null,"homepage":"","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/anikethsaha.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-09-07T16:52:09.000Z","updated_at":"2023-03-04T04:43:08.000Z","dependencies_parsed_at":"2022-08-28T05:50:08.452Z","dependency_job_id":null,"html_url":"https://github.com/anikethsaha/acorn-do-expressions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Facorn-do-expressions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Facorn-do-expressions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Facorn-do-expressions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anikethsaha%2Facorn-do-expressions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anikethsaha","download_url":"https://codeload.github.com/anikethsaha/acorn-do-expressions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245927190,"owners_count":20695185,"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":["acorn","parser"],"created_at":"2024-10-03T07:41:01.941Z","updated_at":"2025-03-29T15:24:23.345Z","avatar_url":"https://github.com/anikethsaha.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acorn-do-expressions\n\nAcorn plugin for parsing [do-expressions](https://github.com/tc39/proposal-do-expressions) proposal.\n\n\u003e Unstable, as this proposal is still in stage-1, it might get changed.\n\n\u003e Also this plugin is a part of my learning process of acorn and parsing js code. So it may not be a recommended way to do the parsing.\n\n## Usage\n\nThis module provides a plugin that can be used to extend the Acorn `Parser` class to parse do expressions.\n\n```javascript\nconst { Parser } = require('acorn');\nconst doExpressions = require('acorn-do-expressions');\nParser.extend(doExpressions).parse(\n  `let x = do {\n    h1()\n  };`\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanikethsaha%2Facorn-do-expressions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanikethsaha%2Facorn-do-expressions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanikethsaha%2Facorn-do-expressions/lists"}