{"id":44925082,"url":"https://github.com/michal-kapala/jitterbit-script","last_synced_at":"2026-02-18T04:13:13.783Z","repository":{"id":116633435,"uuid":"583689265","full_name":"michal-kapala/jitterbit-script","owner":"michal-kapala","description":"Static typechecker and interpreter for Jitterbit scripts","archived":false,"fork":false,"pushed_at":"2025-11-18T00:51:43.000Z","size":1142,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T02:26:50.421Z","etag":null,"topics":["interpreter","ipaas","jitterbit","jitterbit-harmony","jitterbit-studio","typechecker"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/jitterbit-script","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/michal-kapala.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-30T15:26:51.000Z","updated_at":"2025-11-18T00:51:40.000Z","dependencies_parsed_at":"2024-03-15T14:28:17.586Z","dependency_job_id":"954ded43-4afd-41f1-af2b-2e8c53ac68ca","html_url":"https://github.com/michal-kapala/jitterbit-script","commit_stats":null,"previous_names":["michal-kapala/jitterbit-script","michal-kapala/jitterbit-interpreter"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/michal-kapala/jitterbit-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michal-kapala%2Fjitterbit-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michal-kapala%2Fjitterbit-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michal-kapala%2Fjitterbit-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michal-kapala%2Fjitterbit-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michal-kapala","download_url":"https://codeload.github.com/michal-kapala/jitterbit-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michal-kapala%2Fjitterbit-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29567763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["interpreter","ipaas","jitterbit","jitterbit-harmony","jitterbit-studio","typechecker"],"created_at":"2026-02-18T04:13:13.158Z","updated_at":"2026-02-18T04:13:13.771Z","avatar_url":"https://github.com/michal-kapala.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jitterbit Script\n![tests](https://github.com/michal-kapala/jitterbit-script/actions/workflows/tests.yml/badge.svg)\n\nCommunity-made Node.js package for static code analysis and execution of [Jitterbit scripts](https://success.jitterbit.com/design-studio/design-studio-reference/scripts/jitterbit-script-language/).\n\nProvides language support capabilities for [Jitterbit VS Code extension](https://github.com/michal-kapala/vscode-jitterbit).\n \n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eLanguage\u003c/th\u003e\n    \u003ctd\u003eTypeScript\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003cth\u003ePlatform\u003c/th\u003e\n    \u003ctd\u003eNodeJS\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Usage\n\n### Static analysis\n\nCreate a typed AST along with detected errors and warnings.\n\n```ts\nimport {Diagnostic, Parser, Typechecker} from 'jitterbit-script';\n\nconst script = '\u003ctrans\u003e $hi = \"hello world!\" \u003c/trans\u003e';\nconst diagnostics: Diagnostic[] = [];\nconst parser = new Parser();\n\nconst ast = parser.parse(script, diagnostics);\nconst analysis = Typechecker.analyze(ast, diagnostics);\n```\n\nThe above code should never throw, if it does please raise an issue with a bug report.\n\n### Runtime\n\nExecute a script.\n\n```ts\nimport {evaluate, Parser, Scope} from 'jitterbit-script';\n\nasync function run(script: string) {\n  const parser = new Parser();\n  try {\n    const ast = parser.parse(script);\n    return await evaluate(ast, new Scope());\n  } catch(err) {\n    // error handling\n  }\n}\n\nconst result = run('\u003ctrans\u003e $hi = \"hello world!\" \u003c/trans\u003e');\n```\n\n## Disclaimer\n\nPlease note this is **not** official Jitterbit tooling. It **does** differ in behaviour and support from the original Jitterbit runtimes executing scripts in Jitterbit Harmony.\n\nThe static analysis system was redesigned to provide static typing and improve problem reporting for better DX and high quality code development.\n\nCurrently the support for runtime APIs is limited. See [README](https://github.com/michal-kapala/jitterbit-script/tree/main/src/api#readme) for details on runtime API support.\n\nThe runtime implementation's behaviour is based on the cloud agent and editor versions below.\n\n| Component | Version |\n|---|---|\n| Cloud agent | 11.23.0.9 |\n| Jitterbit Studio |  10.55.0.27 |\n\nThis repo is a fork of [tlaceby/guide-to-interpreters-series](https://github.com/tlaceby/guide-to-interpreters-series).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichal-kapala%2Fjitterbit-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichal-kapala%2Fjitterbit-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichal-kapala%2Fjitterbit-script/lists"}