0.5.0 • Published 8 years ago
commonform-serve v0.5.0
This package exports a factory function for generating HTTP server response handler functions usable with Node.js core HTTP servers. The generator function requires a bole logger and a LevelUp-compatible data store.
The server responds to endpoints for a number of purposes:
- Store and serve Common Forms.
- List Common Forms stored by digest.
- Register HTTP POST callbacks for notification of new Common Forms.
- Serve metadata about the service and its version.