Code Monkey home page Code Monkey logo

node-reveal's Introduction

node-reveal NPM version

Node CLI for reveal.js

A Real DEMO

Feature

  • Fast and simple, almost one command
  • ONLY generate necessary files
  • Server in watch mode, auto reload during editing
  • Enable multiplex by default

Usage

npm i node-reveal -g (or yarn global add node-reveal)

$ reveal -h
Options:
  -i, --init     Create a new project.                  [default: "reveal-demo"]
  -w, --watch    Server in watch mode.                          [default: false]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Start

  • Init project: reveal -i <your_project_name>
  • Go to project directory: cd <your_project_name>
  • Server in watch mode: reveal -w

Quick start ❤️

  • Init project with default name: reveal
  • Go to project directory: cd reveal-demo
  • Server in watch mode: reveal

Tips

  • ENOSPC error

node-reveal uses node-watch under the hood, for the limit of OS, you need to increase watchers limit manually, see this for detail.

GIF show

  • ONLY generate files needed

  • Create a project & server in watch mode

  • Auto reload during editing

  • Enable multiplex in an elegant way

License

MIT

node-reveal's People

Contributors

int64ago avatar

Watchers

James Cloos avatar MagicTang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.