{"id":13339467,"url":"https://github.com/flex-development/esast-util-from-code","last_synced_at":"2026-05-08T02:03:24.511Z","repository":{"id":229901877,"uuid":"775764028","full_name":"flex-development/esast-util-from-code","owner":"flex-development","description":"esast utility to parse source code","archived":false,"fork":false,"pushed_at":"2024-04-30T11:04:55.000Z","size":1466,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T09:40:36.463Z","etag":null,"topics":["ast","esast","javascript","js","syntax-tree","ts","typescript","unist"],"latest_commit_sha":null,"homepage":"https://github.com/flex-development/esast-util-from-code","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flex-development.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/funding.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["flex-development"]}},"created_at":"2024-03-22T01:57:07.000Z","updated_at":"2024-05-02T11:40:29.467Z","dependencies_parsed_at":"2024-05-02T11:39:43.432Z","dependency_job_id":"cacd0f96-6adc-4b36-bc59-7cb7b0067235","html_url":"https://github.com/flex-development/esast-util-from-code","commit_stats":null,"previous_names":["flex-development/esast-util-from-code"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fesast-util-from-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fesast-util-from-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fesast-util-from-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fesast-util-from-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flex-development","download_url":"https://codeload.github.com/flex-development/esast-util-from-code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240858536,"owners_count":19868997,"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":["ast","esast","javascript","js","syntax-tree","ts","typescript","unist"],"created_at":"2024-07-29T19:20:03.662Z","updated_at":"2026-05-08T02:03:14.494Z","avatar_url":"https://github.com/flex-development.png","language":"JavaScript","funding_links":["https://github.com/sponsors/flex-development"],"categories":[],"sub_categories":[],"readme":"# esast-util-from-code\n\n[![github release](https://img.shields.io/github/v/release/flex-development/esast-util-from-code.svg?include_prereleases\u0026sort=semver)](https://github.com/flex-development/esast-util-from-code/releases/latest)\n[![npm](https://img.shields.io/npm/v/@flex-development/esast-util-from-code.svg)](https://npmjs.com/package/@flex-development/esast-util-from-code)\n[![codecov](https://codecov.io/gh/flex-development/esast-util-from-code/graph/badge.svg?token=sZorM0WXz5)](https://codecov.io/gh/flex-development/esast-util-from-code)\n[![module type: esm](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)\n[![license](https://img.shields.io/github/license/flex-development/esast-util-from-code.svg)](LICENSE.md)\n[![conventional commits](https://img.shields.io/badge/-conventional%20commits-fe5196?logo=conventional-commits\u0026logoColor=ffffff)](https://conventionalcommits.org/)\n[![typescript](https://img.shields.io/badge/-typescript-3178c6?logo=typescript\u0026logoColor=ffffff)](https://typescriptlang.org/)\n[![vitest](https://img.shields.io/badge/-vitest-6e9f18?style=flat\u0026logo=vitest\u0026logoColor=ffffff)](https://vitest.dev/)\n[![yarn](https://img.shields.io/badge/-yarn-2c8ebb?style=flat\u0026logo=yarn\u0026logoColor=ffffff)](https://yarnpkg.com/)\n\n[esast][esast] utility to parse source code\n\n## Contents\n\n- [What is this?](#what-is-this)\n- [When should I use this?](#when-should-i-use-this)\n- [Install](#install)\n- [Use](#use)\n- [API](#api)\n- [Related](#related)\n- [Contribute](#contribute)\n\n## What is this?\n\n**TODO**: what is this?\n\n## When should I use this?\n\n**TODO**: when should i use this?\n\n## Install\n\nThis package is [ESM only][esm].\n\nIn Node.js (version 18+) with [yarn][yarn]:\n\n```sh\nyarn add @flex-development/esast-util-from-code\n```\n\n\u003cblockquote\u003e\n  \u003csmall\u003e\n    See \u003ca href='https://yarnpkg.com/protocol/git'\u003eGit - Protocols | Yarn\u003c/a\u003e\n    \u0026nbsp;for details regarding installing from Git.\n  \u003c/small\u003e\n\u003c/blockquote\u003e\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```ts\nimport { fromCode } from 'https://esm.sh/@flex-development/esast-util-from-code'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n\u003cscript type=\"module\"\u003e\n  import { fromCode } from 'https://esm.sh/@flex-development/esast-util-from-code'\n\u003c/script\u003e\n```\n\n## Use\n\n**TODO**: use\n\n## API\n\n**TODO**: api\n\n## Related\n\n- [`esast-util-attach-comments`][esast-util-attach-comments] \u0026mdash; attach comments to the tree\n\n## Contribute\n\nSee [`CONTRIBUTING.md`](CONTRIBUTING.md).\n\nThis project has a [code of conduct](CODE_OF_CONDUCT.md). By interacting with this repository, organization, or\ncommunity you agree to abide by its terms.\n\n[esast-util-attach-comments]: https://github.com/flex-development/esast-util-attach-comments\n\n\u003c!-- [esast-util-from-estree]: https://github.com/flex-development/esast-util-from-estree --\u003e\n\n[esast]: https://github.com/flex-development/esast\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n[esmsh]: https://esm.sh/\n[yarn]: https://yarnpkg.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fesast-util-from-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflex-development%2Fesast-util-from-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fesast-util-from-code/lists"}