A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mantoni/consolify below:

mantoni/consolify: Turn your browser window into a console and run Node modules via Browserify

Generate standalone HTML pages that turn the browser window into a console.

$ browserify --debug --plugin [ consolify {options} ] ./test.js > test.html

Options:

-b, --bundle   Set the path to the JavaScript bundle to generate. A script tag
               with this path will be generated into the output HTML. If not
               specified, the bundle is inlined.
-r, --reload   Auto reload on change.
-t, --title    Set the document title. Defaults to "Consolify".
-o, --outfile  Write the standalone HTML page to the supplied path as well as
               passing it through to browserify

Consolify works great with Mocha through Mocaccino:

$ browserify --plugin mocaccino --plugin consolify ./test/*.js > test.html

If --reload is given, a HEAD request is made every second to check whether the file was updated. This requires a web server that sends the Last-Modified header. Learn more in the browser-reload documentation.

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4