Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minibed

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minibed

editable, customizable playground for web

  • 0.0.2-beta
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

mini editable, customizable playground for web
Documentation »

GitHub release Bower version NPM version Packagist version
Dependencies Dev Dependencies
Travis NPM Downloads Contributors


Hi

This is minibed! - mini editable, customizable playground for web


Features

  • Free & Open Source
  • Live Edit
  • Multiple file support for per-languages
  • Remote files
  • Fully customizable

TO-DO

  • Better error handling
  • Support for preprocessors (babel, sass, ...)

Documentation

Documentation and examples are here: http://ned.im/minibed

Logo created by Karthik Srinivas from the Noun Project


Dependencies
  • CodeMirror
    • codemirror.css
    • mode/javascript/javascript
    • mode/htmlmixed/htmlmixed
    • mode/jsx/jsx
    • mode/xml/xml
    • mode/css/css
    • addon/scroll/simplescrollbars
    • addon/edit/matchbrackets
    • addon/edit/closetag
    • addon/edit/closebrackets
Basic Usage
import Minibed from 'minibed';

new Minibed({
    theme: 'dark',
    editorTheme: 'minibed-dark',
    files: {
      html: ['mini.html', 'bed.html'],
      js: ['mini.js', 'mini.es6'],
      css: ['mini.css', 'mini.scss', 'mini.less']
    },
    external: {
      js: [],
      css: []
    },
    settings: {
      readOnly: false, // true, nocursor, false
      scrollLock: false,
      lineWrapping: true,
      lineNumbers: true,
      tabSize: 2,
      css: {
        base: 'none', // normalize, reset
      }
    },
    notes: [] // array of strings, like footer notes, they are gonna be paragraphs
}).show();

Development
$ npm run dev
$ npm test
$ npm run build
Development environment
  • Standard & Prettier
  • ES6 & Babel & Webpack
  • Sass
  • Autoprefixer
  • Qunit & SauceLabs
  • Pre-commit tests
  • Travis CI

JavaScript Style Guide

Keywords

FAQs

Package last updated on 23 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc