0.0.3 • Published 2 years ago
@milahu/gnumake-jobclient v0.0.3
gnumake-jobclient-js
javascript client for the GNU make jobserver
install
npm install @milahu/gnumake-jobclient
or
npm install github:milahu/gnumake-jobclient-js
usage
import { JobClient } from '@milahu/gnumake-jobclient';
const jobClient = JobClient();
const token = jobClient.acquire();
// do some work
jobClient.release(token);
see also test/test.mjs