0.0.1 • Published 8 years ago

jsFiddleDownloader v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

jsfiddle-downloader

Download fiddles from jsFiddle.net, just using a NodeJS script and save it as a single HTML file.

Installation:

	npm install jsfiddle-downloader -g

How to use it:

	Usage: node jsfiddle-downloader [options]

	Options:

	-h, --help           output usage information
	-V, --version        output the version number
	-u, --user <user>    Save all the users fiddles
	-l, --link <url>     Url of the fiddle to save
	-o, --output <path>  Target path to download the data
	-c, --compressed     Compress the spaces of the HTML output
	-v, --verbose        Verbose output

To download a single fiddle from its url:

  jsfiddle-downloader -l <url> [-o <output file>]

To download all scripts of a determinated 'user' from jsFiddle.net:

  jsfiddle-downloader -l <url> [-o <output file>]

It'll download all backups in the currrent directory, the jsFiddles scripts will be named as:

  [<output-folder>/]<id-fiddle>.html