{"repo":"Julien-R44/verrou","free":true,"listed":false,"github":"https://github.com/Julien-R44/verrou","clone":"git clone https://github.com/Julien-R44/verrou.git","description":"🔒 Verrou is a library for managing Locks in Node.js. Support multiple drivers","language":"TypeScript","stars":239,"topics":["lock","mutex","mysql","nodejs","postgres","redis"],"license":"MIT","category":"databases-storage","readme_excerpt":"Verrou 🔐 is a locking library for Node.js applications Features - 🔒 Easy usage - 🔄 Multiple drivers (Redis, Postgres, MySQL, Sqlite, In-Memory and others) - 📦 Multiple database adapters ( Knex, Kysely ... ) - 🔑 Customizable named locks - 🌐 Consistent API across all drivers - 🧪 Easy testing by switching to an in-memory driver - 🔨 Easily extensible with your own drivers See documentation at verrou.dev Why Verrou ? Main advantage of Verrou is that it provides a consistent API across all drivers. This means that you can switch from one driver to another without having to change your code. It also means you can switch to an in-memory in your test environment, making tests faster and easier to setup (no infrastructure or anything fancy to setup). Having a consistent API also means that you don't have to learn a new API when switching from one driver to another. Today, in the node ecosystem, we have different npm packages to manage locks, but they all have differents APIs and behaviors. But having a consistent API doesn't mean having a less powerful API. Verrou provides every features you would expect from a locking library, and even more. Basic usage Sponsors If you like this project, please consider supporting it by sponsoring it. It will help a lot to maintain and improve it. Thanks a lot !","default_branch":null,"files":null,"tree":[],"storefront":"/r/Julien-R44","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Julien-R44/verrou/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}