make-bookmarklet - a command-line script that transforms human-readable JavaScript code into bookmarklet form.
This script will attempt to copy the bookmarklet code to your desktop clipboard using pbcopy if possible. A warning will be issued if it cannot regardless of the availablity of pbcopy, the bookmarklet code will be output.
make-bookmarklet < example.js
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JavaScript-Bookmarklet
For other issues, contact the author.
Timothy Appnel <tima@cpan.org>
http://daringfireball.net/2007/03/javascript_bookmarklet_builder, make-bookmarklet
The software is released under the Artistic License. The terms of the Artistic License are described at http://www.perl.com/language/misc/Artistic.html. Except where otherwise noted, JavaScript::Bookmarklet is Copyright 2008, Timothy Appnel, tima@cpan.org. All rights reserved.
To install JavaScript::Bookmarklet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JavaScript::Bookmarklet
CPAN shell
perl -MCPAN -e shell install JavaScript::Bookmarklet
For more information on module installation, please visit the detailed CPAN module installation guide.