Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gethue with all npm packages installed. Try it out:

gethue lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("gethue/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gethue v4.7.10

Hue is an Open source SQL Query Editor for Databases/Warehouses


GetHue is a collection of various Hue building blocks providing a smart SQL Cloud Editor. They can be classified into two groups, SQL Parsers and UI Components. We have collated them into an NPM package for you to easily use in your own app.


npm install --save gethue

SQL Parsers

The parsers are the flagship part of Hue and power extremely advanced autocompletes and other SQL functionalities. They are running on the client side and comes with just a few megabytes of JavaScript that are cached by the browser. This provides a very reactive experience to the end user and allows to import them as classic JavaScript modules for your own development needs.

Please refer the SQL Parser Documentation, or this demo app for more information.

"Parser Component"

UI Components

Some of the UI elements in Hue are available as generic Web Components. They are library/framework agnostic, and can be used in any web project irrespective of what it's built upon - React, Angular, Ember or something else. Internally these components are created using Vue.js & TypeScript. So you can even use them as plain Vue component, and take advantage of Vue features.

Please refer the UI Components Documentation for more information. Page for each component must give you a sound idea on the attributes/props that the components accept, and events they generate. Please refer these demo apps for examples on how the components can be used.

"SQL Scratchpad Component"


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free