moesif-nodejs

Moesif Node.js middleware (formerly Moesif-Express), for API Monitoring, Analytics, and Monetization.

OTHER License

Downloads
224
Stars
42

Bot releases are hidden (Show)

moesif-nodejs - v2.3.12

Published by dgilling over 7 years ago

Fixes:
Body response may be missing if end() called without chunk.

moesif-nodejs - v2.3.11

Published by dgilling over 7 years ago

Fixes:
#2 TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object

moesif-nodejs - v2.3.10

Published by dgilling over 7 years ago

Fix:

  • Request may log [object Object] for request body instead of the actual object if using express.json(), and body is not a string or buffer.
  • Response body may be duplicated in corner case where write() is called after end()
moesif-nodejs - v2.3.9

Published by dgilling over 7 years ago

Remove: Moesif Express Dependencies
. This lib can be used for a basic Node HTTP server.

Fix: Response body may not get logged for certain write() and end() sequences.

Update: Documentation to reflect installing for non express setups.

moesif-nodejs - v2.3.6

Published by dgilling over 7 years ago

Fix: Check if end() is called with a callback.
Defend against toString() is not a function

moesif-nodejs - v2.3.5

Published by dgilling over 7 years ago

Fixes:
Fixed case when using middleware on node-http-proxy and not all response chunks are gathered if multiple chunks causing partial response body being logged.

moesif-nodejs - v2.3.4

Published by dgilling over 7 years ago

Fixes:
Fixed case where non JSON object sent using write() wouldn't not be base64 encoded correctly.

moesif-nodejs - v2.3.2

Published by dgilling over 7 years ago

Fixes:
Fixed some cases where non-JSON body wouldn't be base64 encoded correctly causing body to not be logged.

moesif-nodejs - v2.3.0

Published by dgilling over 7 years ago

New:

  • Checks if body is JSON or binary. If binary, base64 encode and set transfer-encoding to base64
  • Add additional tests for malformed body
  • Update moesifapi to 1.2.3:
    • (moesifapi 1.2.3) GZIP Request Body
    • (moesifapi 1.2.3) Set KeepAlive to true with 25 socket limit
moesif-nodejs - v2.2.0

Published by dgilling over 7 years ago

Add: updateUser() method to moesif middleware object.

moesif-nodejs - v2.1.0

Published by dgilling almost 8 years ago

  1. Log Request Body when used with http-node-proxy or when body parser
    is a later middleware.
  2. Automatically skip calls to root path (Many APIs use / as health
    probes).

Release 2.1.0

moesif-nodejs - v2.0.2

Published by dgilling almost 8 years ago

Package Rankings
Top 5.84% on Npmjs.org
Badges
Extracted from project README
NPM Built For Total Downloads Software License Source Code