How to use the @mapbox/dyno.serialize function in @mapbox/dyno

To help you get started, we’ve selected a few @mapbox/dyno 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 nasa / cumulus / packages / api / bin / backup.js View on Github external
stringify._transform = function _transform(record, enc, callback) {
    const line = Dyno.serialize(record);

    setImmediate(() => {
      stringify.push(`${line}\n`);
      count += 1;
      callback();
    });
  };

@mapbox/dyno

Simple DynamoDB client

MIT
Latest version published 1 year ago

Package Health Score

60 / 100
Full package analysis

Popular @mapbox/dyno functions