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

var indoorjs = require("indoorjs")

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

indoorjs v1.0.27

Canvas based indoor maps


unstable gzip-size HitCount

Indoor maps based on fabricjs with grid system, zooming, panning and anotations. See demo.

Markers and Connections demo


npm install indoorjs

const mapEl = document.querySelector('.my-map');

let radar; let

const map = new Indoor.Map(mapEl, {
  floorplan: new Indoor.Floor({
    url: './fp.jpeg',
    opacity: 0.4,
    width: 400,
    zIndex: 1
  minZoom: 0.001,
  maxZoom: 10,
  center: {
    x: 0,
    y: 0,
    zoom: 1
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