{"id":23708134,"url":"https://github.com/ayecue/miniscript-core","last_synced_at":"2025-10-08T17:08:28.321Z","repository":{"id":200978718,"uuid":"706672179","full_name":"ayecue/miniscript-core","owner":"ayecue","description":"MiniScript Parser \u0026 Lexer in TypeScript","archived":false,"fork":false,"pushed_at":"2024-12-30T13:25:47.000Z","size":1660,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T14:25:22.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","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":"2023-10-18T12:07:22.000Z","updated_at":"2024-12-30T13:25:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"7eadf852-7d5e-4115-a3ef-d76916282c91","html_url":"https://github.com/ayecue/miniscript-core","commit_stats":null,"previous_names":["ayecue/miniscript-core"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayecue%2Fminiscript-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayecue","download_url":"https://codeload.github.com/ayecue/miniscript-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231874117,"owners_count":18439217,"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.651Z","updated_at":"2025-10-08T17:08:23.287Z","avatar_url":"https://github.com/ayecue.png","language":"TypeScript","readme":"# miniscript-core\n\n[![miniscript-core](https://circleci.com/gh/ayecue/miniscript-core.svg?style=svg)](https://circleci.com/gh/ayecue/miniscript-core)\n\nBasic Lexer and Parser for MiniScript.\n\n## Install\n\n```bash\nnpm install --save miniscript-core\n```\n\n## Lexer\n\n### Options\n\n- `validator` - define custom validator\n- `tabWidth` - define the used tab width in file\n- `unsafe` - will parse invalid MiniScript without throwing (useful for debugging)\n\n### Usage\n\n```ts\nconst content = 'print \"hello world\"';\nconst lexer = new Lexer(content);\nconst parser = new Parser(content, { lexer });\nconst payload = parser.parseChunk(); // AST\n```\n\n## Parser \n\n\n### Options\n\n- `validator` - define custom validator\n- `astProvider` - define custom ast provider\n- `lexer` - define custom lexer\n- `tabWidth` - define the used tab width in file\n- `unsafe` - will parse invalid MiniScript without throwing (useful for debugging)\n\n### Usage\n\n```ts\nconst content = 'print \"hello world\"';\nconst parser = new Parser(content);\nconst payload = parser.parseChunk(); // AST\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayecue%2Fminiscript-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayecue%2Fminiscript-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayecue%2Fminiscript-core/lists"}