This is an (unofficial) implementation for synchronizing files to JSBin.com via its API.
While JSBin currently allows maintaining a bin's content in a gist and dropbox, there is no built-in way to maintain documents anywhere else. Using this tool, a bin's content can be maintained anywhere (e.g. a git repository) and simply be "deployed" to to JSBin for "production use".
jsbin-sync
started out as a utility to upload local files to JSBin.com, but has since grown into a full featured interface covering upload, download, backup, listing and deleting of bins.
- fixing
upload
command to properly map input files to output states
- moving
src/sync.js
tosrc/upload.js
- package returning map of functions, rather than
upload
- moving CLI code to
/bin
- switching CLI pattern to sub-commands
- adding option
concurrency
to throttle number of parallel requests - adding command
backup
to download all bins - adding command
list
to print all known remote bins - adding command
remove
to delete remote bins
- adding shebang to cli.js
- changing returned data structure
- adding command line interface
- initial release
jsbin-sync is published under the MIT License.