Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

javascript client for the GNU make jobserver. moved to https://github.com/milahu/gnumake-tokenpool

License

Notifications You must be signed in to change notification settings

milahu/gnumake-jobclient-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moved

moved to https://github.com/milahu/gnumake-tokenpool

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

similar projects

related