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.
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 |
- login
- save cookie
- fetch list
- parse list
- create html list
- fetch items
- add pub date
- config
- error checking
- add last exported date field