home/categories/scripting/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-node-js-lock-manager-with-encapsulated-termination-skill-md
scriptingdevelopment
nodejs-lock-manager-with-encapsulated-termination
Develop a Node.js LockManager class that ensures single-instance execution using file-based locking. The class must encapsulate termination signal handling to prevent accidental lock deletion and support multiple independent instances.
maintainer
ECNU-ICALK
Mis à jour 3/16/2026
Étoiles
304
Forks
34
quick start
Installation and usage
Develop a Node.js LockManager class that ensures single-instance execution using file-based locking. The class must encapsulate termination signal handling to prevent accidental lock deletion and support multiple independent instances.
Installation
$ install --globalskills.sh
Utilisation
Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :
skills use nodejs-lock-manager-with-encapsulated-termination