How to use the object-hash.HashTable function in object-hash

To help you get started, we’ve selected a few object-hash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cdapio / cdap / server / aggregator.js View on Github external
function Aggregator (conn) {
  // make "new" optional
  if ( !(this instanceof Aggregator) ) {
    return new Aggregator(conn);
  }

  conn.on('data', _.bind(onSocketData, this));
  conn.on('close', _.bind(onSocketClose, this));

  this.connection = conn;
  this.polledResources = new HashTable();
  this.bodyCache = {};

  this.log('init');
}

object-hash

Generate hashes from javascript objects in node and the browser.

MIT
Latest version published 3 years ago

Package Health Score

74 / 100
Full package analysis