jspage
Convert a script into an HTML page containing that script.
Last updated 6 years ago by bpierre .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jspage 
SYNC missed versions from official npm registry.

jspage

Convert a script into an HTML page containing that script.

Installation

$ npm install --global jspage

Usage

  Usage: jspage [options] [file]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -t, --title <title>  The page title
    -b, --blank          Blank page (no code preview)

  Examples:

    $ jspage foo.js > bar.html
    $ jspage < foo.js > bar.html
    $ cat foo.js bar.js | jspage -b > baz.html
    $ echo "alert('Hello World')" | jspage > foo.html

License

MIT

Current Tags

  • 0.0.3                                ...           latest (6 years ago)

3 Versions

  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |