hsnode
v2.19.1
Published
Helpful Scripts promise wrappers for node functions
Maintainers
Readme
hsNode
Helpful Scripts functions that wrap some nodejs calls in Promise wrappers.
Installation
Install hsNode from npm the standard way:
npm i hsnode
hsNode.log functions (extends on hsUtil logging), adding support for
- log recordings in configurable log files
- using
transientlogging
hsNode.Request REST-API with support for
- paced requests - configure limits on requests per second and max number of unresolved requests; see hsUtil
- integrated, configuarble, content decoding - e.g.
str2jsonorhtml2jsonor a a self defined decoder - simple authentication, currently: Basic, Digest, and Token authentication
- cached requests - allowing for targeted reloads for cached responses
Promise wrappers for nodejs functions:
child_processsexecutionfile systemfunctions
See docs for details
