{"library":"semaphore","type":"library","category":null,"description":"This package provides a basic counting semaphore mechanism for Node.js environments, designed to limit the number of concurrent operations accessing a shared resource. The current and only stable version, 1.1.0, was published 9 years ago and explicitly targets Node.js 0.8.0. Due to its age and lack of maintenance, it does not follow a regular release cadence and is effectively abandoned for modern Node.js development. Its primary differentiator is its extreme simplicity and minimal footprint, offering fundamental concurrency control without features found in more contemporary, promise-based semaphore implementations (e.g., `async-sema`, `await-semaphore`). While functional for very old projects, it lacks modern JavaScript features and type definitions out of the box.","language":"javascript","status":"abandoned","version":"1.1.0","tags":["javascript"],"install":[{"cmd":"npm install semaphore","imports":["const semaphore = require('semaphore');","const sem = require('semaphore')(capacity);","sem.take(function() { /* ... */ });"]},{"cmd":"yarn add semaphore","imports":[]},{"cmd":"pnpm add semaphore","imports":[]}],"homepage":null,"github":"https://github.com/abrkn/semaphore.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/semaphore","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/semaphore/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}