@barchart/common-node-js
Version:
Common classes, utilities, and functions for building Node.js servers
41 lines (26 loc) • 1.9 kB
Markdown
# @barchart/common-node-js
[](https://github.com/barchart/common-node-js)
[](https://www.npmjs.com/package/@barchart/common-node-js)
A *public* library of JavaScript utilities — suitable for use in both Node.js environments.
### Overview
#### Features
* Promise-based convenience wrappers for the AWS services (e.g. DynamoDB, S3, SES, SNS, SQS, more)
* Promise-based convenience wrappers for relational dB access (PostgreSQL, MySQL)
* Advanced utilities for working with Node.js streams
* A workflow engine based on a priority queue
* Pluggable asynchronous message bus for request-response (including an Amazon SQS implementation)
* Pluggable asynchronous message bus for publish-subscribe (including an Amazon SNS/SQS implementation)
* Abstraction for HTTP servers with REST and Socket.IO endpoints (using Express)
* Browse the code...
#### Companion Library
A companion library called [@barchart/common-js](https://github.com/barchart/barchart-common-js) contains a more general set of utilities which are suitable for either Node.js or browser environments.
### Development
#### Documentation
The code is documented with [JSDoc](http://usejsdoc.org/). This will be used as the basis for formal documentation (coming soon).
#### Package Managers
This library has been published as a *public* module to NPM as [@barchart/common-node-js](https://www.npmjs.com/package/@barchart/common-node-js).
```shell
npm install @barchart/common-node-js -S
```
#### License
This software is provided under the MIT license.