# level-incr **Repository Path**: mirrors_soldair/level-incr ## Basic Information - **Project Name**: level-incr - **Description**: add an incr command to level - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README level-incr ========== add an atomic increment/decrement command to a level db ### incr(db) path the db object with incr and decr ### incr(db,incrStart) you may optionally oass incrStart if you need to do something like odd/even ### db.incr(key,cb) increment the key by one ### db.incr(key,amount,cb) increment the key by amount ### db.decr(key,cb) decrement the key by 1 ### db.decr(key,amoumt,cb) decrement the key by amount