{"library":"mr-potato-head","type":"library","category":null,"description":"Distributed locking via MySQL or PostgreSQL advisory locks. Current stable version 5.0.0, released regularly on npm. Uses GET_LOCK() / pg_try_advisory_lock() to provide mutually exclusive locks across processes. Lightweight, dependency-agnostic (bring your own mysql2 or pg driver).","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","lock","mysql","postgres","potato"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mr-potato-head","imports":["import mrPotatoHead from 'mr-potato-head';","const mrPotatoHead = require('mr-potato-head');"]},{"cmd":"yarn add mr-potato-head","imports":[]},{"cmd":"pnpm add mr-potato-head","imports":[]}],"homepage":"https://github.com/liamoehlman/mr-potato-head#readme","github":"https://github.com/liamoehlman/mr-potato-head","docs":null,"changelog":null,"pypi":null,"npm":"mr-potato-head","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}