Detalhes do pacote

phantomify

Gozala4.7k0.1.1

Browserify require in a PhantomJS

phantomify

readme (leia-me)

phantomify

Build Status

Phantomify lets you headlessly browserify!!

Browserify does a great job of letting you concentrate on writing reusable modules that work both on nodejs & browsers instead of spending efforts on bikeshidding module format. PhantomJS on the other hand is headless webkit browser that is well supported by a travis-ci. Phantomify composes this great tools together to let you run node module in a headless browser environment.

Usage

phantomify ./path/to/index.js

Phantomify will make a browserify bundle for the given module path and then will load & execute it in an empty HTML page in a PhantomJS.

Install

npm install -g phantomify

changelog (log de mudanças)

Changes

0.1.1 / 2013-01-19

  • Update to latest browserify.
  • Use timers module to ensure compatibility with SDK.

0.1.0 / 2012-11-01

  • Added support for optional second argument for a target page URL.

0.0.1 / 2012-10-31

  • Initial release