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 1,000,000+ packages pre-installed, including velc with all npm packages installed. Try it out:

var velc = require("velc")

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

velc v0.0.0

PEG.js inspired programming language creator using visual based tools.

PEG.js inspired programming language creator using visual based tools.

install

with server (requires Node.js or io.js):

npm install velc

only editor (requires git):

git clone https://github.com/erispa/velc.git

download

You can also download Velc from github and then extract it to your desired directory using any extracter that supports zip files.

usage

with Velc server only:

  • go to where you have installed Velc
  • (optional) on command line type: npm install
  • on command line type: node server.js

with Velc express middleware:

// required modules
var express = require("express");
var velc = require("velc");

// create a new express application
var app = express();

// ...
// your express code
// ...

// an array of extensions
var exts = [velc.darkTheme, velc.codeMirror, velc.pegjsExamples, velc.pegjsGrammer];

// attach Velc's middleware
app.use("velc", velc(exts));

// ...
// your express/http listen code
// ...

just editor:

  • go to where you have installed Velc
  • open 'editor.html' in any browser

third-party tools used

editor:

server:

Links

Homepage: https://erispa.github.io/velc
Wiki: https://github.com/erispa/velc/wiki
Issues: https://github.com/erispa/velc/issues
NPM: https://www.npmjs.com/package/velc

License

Copyright (c) 2015 Futago-za Ryuu, Erispa
The MIT License, http://opensource.org/licenses/MIT

Metadata

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