| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ODC-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.

You can install using npm:
npm install @oceanbase-odc/monaco-plugin-obTo use the Monaco Plugin, import it in your JavaScript code and initialize it with the Monaco Editor:
import Plugin from '@oceanbase-odc/monaco-plugin-ob';
const OBPlugin = new Plugin();
OBPlugin.setup();
monaco.editor.create(domRef.current, {
value,
language: language, // 'obmysql' | 'oboracle'
theme: themeValue, // 'obwhite'
});Make sure you have the Monaco Editor library included in your project.
Contributions 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.
ODC-Parser-JS is licensed under the MIT License.
| Back | FazBrowse Home | New Git URL |