This commit is contained in:
Bret Comnes
2020-02-13 11:23:24 -07:00
parent 22ef26e851
commit ce8f0e70b0
10 changed files with 153 additions and 196 deletions

View File

@@ -185,11 +185,11 @@ Deploy a path to a `directory`, efficiently only uploading missing and changed f
```js
{
cleanup: false // delete orphaned files on neocities that are not in the `directory`
statsCb: () => {} // WIP progress API
statsCb: (stats) => {}
}
```
The return value of this method is subject to change.
For an example of a stats handler, see [lib/stats-handler.js]('./lib/stats-handler.js').
### `client.get(endpoint, [quieries], [opts])`