javascript jobclient and jobserver for the GNU make tokenpool protocol
npm install git+https://github.com/milahu/gnumake-tokenpool
import { JobClient } from 'gnumake-tokenpool';
const jobClient = JobClient();
const token = jobClient.acquire();
// do some work
jobClient.release(token);
see also test/jobclient/test.mjs
for implementation details, see details.md