level-trigger
Triggers for levelup.
<img src=https://secure.travis-ci.org/dominictarr/level-trigger.png?branch=master>
Jobs must be idempotent! If the process crashes before job has calledback, it will be rerun the next time it's started, for consistency!
Stability
Unstable: Expect patches and features, possible api changes.
Example
var db = '/tmp/level-trigger-example'var SubLevel = ; //MUST install sublevel.var Trigger =var trigDb =//if you want, start the trigger in batch mode.//this will process all the keys in the input db.//otherwise, jobs will be processed whenever a key is inserted!ifargvbatchtrigDbstart
License
MIT