| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| ### What is Gremlator? |
| |
| Gremlator is a client-side single-page application that translates Gremlin queries from one language variant to another. Enter a Gremlin query and instantly see the equivalent form in Canonical, JavaScript, Python, Go, .NET, Java, Groovy, and Anonymized variants — all powered by the Gremlin JavaScript GLV running entirely in the browser. |
| |
| ### Give it a try! |
| |
| https://tinkerpop.apache.org/gremlator |
| |
| ## Available Scripts |
| |
| In the project directory, you can run: |
| |
| ``` |
| npm install |
| ``` |
| |
| Installs dependencies. |
| |
| ``` |
| npm start |
| ``` |
| |
| Runs the app in the development mode.\ |
| Open [http://localhost:5173/gremlator](http://localhost:5173/gremlator) to view it in the browser. |
| |
| The page will reload if you make edits.\ |
| You will also see any lint errors in the console. |
| |
| ``` |
| npm test |
| ``` |
| |
| Launches the test runner via Vitest. |
| |
| ``` |
| npm run build |
| ``` |
| |
| Builds the app for production to the `dist` folder.\ |
| It correctly bundles React in production mode and optimizes the build for the best performance. |
| |
| The build is minified and the filenames include the hashes.\ |
| Your app is ready to be deployed! |