0.4.1 • Published 4 years ago

windows-mutex v0.4.1

Weekly downloads
4,257
License
MIT
Repository
github
Last release
4 years ago

windows-mutex

Build Status

Expose the Windows CreateMutex API to Node.JS.

Installation

windows-mutex will only compile in Windows machines, so it is advisable to use the --save-optional flag and wrap the require('windows-mutex') call in a try {} catch {} block, in case your code also runs on other platforms.

npm install --save-optional windows-mutex

Usage

import { Mutex } from 'windows-mutex';

var mutex = new Mutex('my-mutex');
console.log(mutex.isActive());
mutex.release();

Development

Publishing to NPM is automated via CI. As soon as a tag is pushed to the repo, that version will be built and published to NPM.

0.4.1

4 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

6 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago