Phantomjs-prebuilt installs the given system's necessary phantomjs binary version as project dependency; the npm package includes UMD wrapper, in the future could switch to a require statement in future versus a spawn. The package also supports Windows, Linux, and macOS, handling all relative paths to binaries, eliminating the need to specify in the application code (lib/webservices/pdf.js).
This should eliminate version issues between users (re: #31), make it easier to update the bin/ macOS or Windows binaries (re: #47, #43), and should pave the way for more config happy users to override default settings (re: #37).
Replaces local system peer dependency with phantomjs-prebuilt.
Phantomjs-prebuilt installs the given system's necessary phantomjs binary version as project dependency; the npm package includes UMD wrapper, in the future could switch to a
require
statement in future versus aspawn
. The package also supports Windows, Linux, and macOS, handling all relative paths to binaries, eliminating the need to specify in the application code (lib/webservices/pdf.js
).This should eliminate version issues between users (re: #31), make it easier to update the
bin/
macOS or Windows binaries (re: #47, #43), and should pave the way for more config happy users to override default settings (re: #37).