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 JSDev with all npm packages installed. Try it out:

var jSDev = require("JSDev")

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

JSDev v0.0.84

JSDev is a simple JavaScript preprocessor. It implements a tiny macro language that is written in the form of tagged comments. These comments are normally ignored, and will be removed by JSMin. But JSDev will activate these comments, replacing them with executable forms that can be used to do debugging, testing, logging, or tracing. JSDev scans a source looking for and replacing patterns. A pattern is a slashstar comment containing a tag and some stuff, and optionally a condition wrapped in parens. There must be no space between the slashstar and the <tag>.

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