hsnode
TypeScript icon, indicating that this package has built-in type declarations

2.19.1 • Public • Published

hsNode

NPM License npm version docs Build Status codecov Known Vulnerabilities Dependencies Status

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 transient logging

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. str2json or html2json or 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_processs execution
  • file system functions

See docs for details

Package Sidebar

Install

npm i hsnode

Weekly Downloads

7

Version

2.19.1

License

MIT

Unpacked Size

126 kB

Total Files

33

Last publish

Collaborators

  • masterscripter