access-watch-node
v1.0.1
Published
Logging and analysing web traffic using the AccessWatch service.
Downloads
4
Readme
Access Watch Node library
A nodejs implementation for logging and analysing web traffic using the AccessWatch service. This library provides the utilities for communication with the AccessWatch service.
In case there is no implementation for your configuration you can build your own using this library directly. For Express and Hapi plugins check out access-watch-middleware and access-watch-hapi respectively.
Usage
npm install --save access-watch-node
For example code, see the referenced plugins mentioned above.
Reverse proxy
If the node application is behind a reverse proxy, it should set forwarded headers which
must specified to AccessWatch on instantiation. Typically the predefined
AccessWatch.fwdHeaders
can be used.
See API documentation for details.
Contributing
- Before doing any work, always open an issue.
- Before commiting any code, always make sure
npm test
andnpm run lint
passes.