0.2.0 • Published 5 years ago

httpsqs.js v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

httpsqs.js

The node client for HTTPSQS.

Docker HTTPSQS image

Usage

$ yarn add httpsqs.js
import HTTPSQS from 'httpsqs.js';
// const HTTPSQS = require('httpsqs.js');

const queue = new HTTPSQS({
  // host: '127.0.0.1',
  name: 'queue-name',
});

(async () => {
  await queue.put('23333');
  console.log(await queue.get());
  console.log(await queue.status());
})();