https://github.com/52cik/httpsqs.js
The node client for HTTPSQS.
https://github.com/52cik/httpsqs.js
Last synced: 2 months ago
JSON representation
The node client for HTTPSQS.
- Host: GitHub
- URL: https://github.com/52cik/httpsqs.js
- Owner: 52cik
- License: mit
- Created: 2018-11-29T08:37:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-04T07:22:30.000Z (over 6 years ago)
- Last Synced: 2025-03-05T10:46:27.223Z (3 months ago)
- Language: TypeScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpsqs.js
> The node client for HTTPSQS.
> [Docker HTTPSQS image](https://hub.docker.com/r/toomee/httpsqs/)
## Usage
```sh
$ yarn add httpsqs.js
``````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());
})();
```