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

require("yo/package.json"); // yo is a peer dependency. var generatorDemoMap = require("generator-demo-map")

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

generator-demo-map v0.0.1

Example Yeoman generator that creates a simple demo map. Uses livereload, and grunt-watch

generator-demo-map

Yeoman generator

Getting Started

Install Generator

$ npm install -g generator-demo-map

Generate a Demo Map

Create a folder, cd into it, an initiate the generator:

$ yo demo-map

You will be asked two questions:

  • what is the name of this application?
  • what is your name? (for package.json)

Provide answers and Yeoman will scaffold out the demo app for you. Once complete, start things up with

grunt

This will start a grunt server and open your default browser to index.html. Live-Reload is also running, so you can open up index.html or app.js in your favourite editor, make changes and save them, and the page will be re-loaded automagically.

License

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