@partrocks/core
v0.3.24
Published
Common Utilities and Middleware for Services on the PartRocks Platform.
Downloads
7
Readme
@partrocks/core
Overview
This Package provides the backbone for Typescript PartRocks Services and their integrations / standards and common objects as well as a host of utility items
Installation
Use a package manager to install to node_modules
With npm
npm install @partrocks/core
or with pnpm
pnpm add @partrocks/core
or with npm
yard add @partrocks/core
Usage
The base export from core has been organised under the following top levels of namespaces and functions
- server - (HostServer) Host server tools for setup
- crypto - Functions for common cryptographic operations
- events - An Emitter / Listener Manager that uses the internal Message bus
- http - Helper methods for server responses
- db - Provides tools for connecting direct to external datasources
- routes - tools for Http routing via the Http Server created via (server)
- rockRouter - a manager interface for creating custom routes
- util - anything else
- validator - Validation tools
- data - Common data models for the platform
Contributing
- Get in touch [email protected]