Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.11 KB

Js Bin Export

How to use it

Options can be passed by CLI commands

npm start -- --username=username --password=password

or by creating a copy of config.json, renaming it to config.local.json and editing its content.
The config.local.json is ignored by git, while config.json is not.

Options

Name Type
username string JS Bin username
password string JS Bin password
folder string folder where to save the files, relative to this project folder
delay number milliseconds of delay between each bin export, to avoid spamming the server

TODO

  1. login
  2. save cookie
  3. fetch list
  4. parse list
  5. create html list
  6. fetch items
  7. add pub date
  8. config
  9. error checking
  10. add last exported date field