{"id":29571883,"url":"https://github.com/oceanbase/odc-parser-js","last_synced_at":"2025-07-19T04:36:29.923Z","repository":{"id":189885737,"uuid":"676406550","full_name":"oceanbase/odc-parser-js","owner":"oceanbase","description":"OceanBase Developer Center(ODC) JavaScript SQL parser and Monaco plugin","archived":false,"fork":false,"pushed_at":"2025-07-14T07:45:29.000Z","size":5062,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-14T07:57:08.965Z","etag":null,"topics":["javascript","monaco","sqlparser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/oceanbase.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}},"created_at":"2023-08-09T06:09:35.000Z","updated_at":"2025-07-14T07:45:33.000Z","dependencies_parsed_at":"2025-05-05T03:03:41.433Z","dependency_job_id":"0f474f57-6216-4f34-b6e9-736c7d231241","html_url":"https://github.com/oceanbase/odc-parser-js","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.22499999999999998","last_synced_commit":"1fcc091a43b1858c82f686597e500b59c1f65857"},"previous_names":["oceanbase/odc-parser-js"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oceanbase/odc-parser-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fodc-parser-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fodc-parser-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fodc-parser-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fodc-parser-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oceanbase","download_url":"https://codeload.github.com/oceanbase/odc-parser-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fodc-parser-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265508742,"owners_count":23779222,"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":["javascript","monaco","sqlparser"],"created_at":"2025-07-19T04:36:29.227Z","updated_at":"2025-07-19T04:36:29.915Z","avatar_url":"https://github.com/oceanbase.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ODC-Parser-JS\n\nODC-Parser-JS provides a JavaScript version of SQL Parser along with a Out-of-the-box Monaco Plugin. It currently supports OceanBase MySQL and OceanBase Oracle SQL dialect. \n![Demo](docs/images/demo.png)\n## Features\n\n- 🌲 SQL Parser: ODC-Parser-JS provides a JavaScript-based SQL Parser that can parse SQL queries for OceanBase MySQL and OceanBase Oracle databases.\n- 📦 Monaco Plugin: It includes a Monaco Plugin that can seamlessly integrate with the Monaco Editor, allowing you to enhance your SQL editing experience.\n\n## Installation\n\n### Monaco Plugin\n\nYou can install using npm:\n\n```bash\nnpm install @oceanbase-odc/monaco-plugin-ob\n```\n\n## Usage\n\n### Monaco Plugin\n\nTo use the Monaco Plugin, import it in your JavaScript code and initialize it with the Monaco Editor:\n\n```javascript\nimport Plugin from '@oceanbase-odc/monaco-plugin-ob';\nconst OBPlugin = new Plugin();\nOBPlugin.setup();\n\nmonaco.editor.create(domRef.current, {\n      value,\n      language: language, // 'obmysql' | 'oboracle'\n      theme: themeValue, // 'obwhite'\n    });\n```\nMake sure you have the Monaco Editor library included in your project.\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.\n\n## License\n\nODC-Parser-JS is licensed under the [MIT License](https://github.com/oceanbase/odc-parser-js/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fodc-parser-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foceanbase%2Fodc-parser-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fodc-parser-js/lists"}