codujs

0.0.4 • Public • Published

Piggle

npm JavaScript Style Guide

Define long-running tasks as javascript generator functions. Ensure there's a yield after each important change.

Piggle will then execute those tasks ensuring that any transitory failures are retries automatically.

If the long-running task cannot be completed then it will output the current progress as an object. You can store this object in a database, and you can pass this object back to Piggle to have it resume the task from wherever it left off.

There's a good piggle!

installation

npm install piggle

Development

Code base adheres to the rules chosen by https://standardjs.com/. Code is formatted with 2 spaces.

Tests are written using Jest with 100% coverage.

npm test

Continuous Integration and Deployment

Any pushes or pull-requests on non-master branches will trigger the test runner. Any pushes to master will cause the library to be re-published.

Readme

Keywords

none

Package Sidebar

Install

npm i codujs

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

9.07 kB

Total Files

8

Last publish

Collaborators

  • lusypher