{"id":23708136,"url":"https://github.com/ayecue/miniscript-type-analyzer","last_synced_at":"2025-09-03T14:32:33.687Z","repository":{"id":244877132,"uuid":"812397099","full_name":"ayecue/miniscript-type-analyzer","owner":"ayecue","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-14T13:59:24.000Z","size":5547,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T14:01:40.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ayecue.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":"2024-06-08T19:15:09.000Z","updated_at":"2024-12-14T13:59:28.000Z","dependencies_parsed_at":"2024-07-17T02:48:16.274Z","dependency_job_id":"f1c2711d-98ba-4c82-b031-448f41df37ed","html_url":"https://github.com/ayecue/miniscript-type-analyzer","commit_stats":null,"previous_names":["ayecue/miniscript-type-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-type-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-type-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-type-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-type-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayecue","download_url":"https://codeload.github.com/ayecue/miniscript-type-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231895828,"owners_count":18442361,"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-12-30T17:49:06.673Z","updated_at":"2025-09-03T14:32:33.676Z","avatar_url":"https://github.com/ayecue.png","language":"TypeScript","readme":"# miniscript-type-analyzer\r\n\r\n## Deprecated in favor of [greybel-type-analyzer](https://github.com/ayecue/greybel-type-analyzer)\r\n\r\n[![miniscript-type-analyzer](https://circleci.com/gh/ayecue/miniscript-type-analyzer.svg?style=svg)](https://circleci.com/gh/ayecue/miniscript-type-analyzer)\r\n\r\nAnalyzes MiniScript and suggests types. Recommended to be used with [greybel-core](https://github.com/ayecue/greybel-core) even though it should be also able to digest [miniscript-core](https://github.com/ayecue/miniscript-core) AST.\r\n\r\n## Example\r\n```ts\r\nimport { miniscriptMeta } from 'miniscript-meta';\r\nimport { Parser } from 'greybel-core';\r\n\r\nconst typeManager = new TypeManager({\r\n  container: greyscriptMeta\r\n});\r\nconst parser = new Parser(content, {\r\n  unsafe: true\r\n});\r\nconst chunk = parser.parseChunk();\r\n\r\ntypeManager.analyze(document.uri, chunk);\r\n\r\nconst allIdentifier = typeManager.getRootScopeContext().scope.getAvailableIdentifier();\r\nconsole.log(`Your code includes: ${allIdentifier.size}`);\r\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayecue%2Fminiscript-type-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayecue%2Fminiscript-type-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayecue%2Fminiscript-type-analyzer/lists"}