Displaying 1 to 6 from 6 results

node-pg-copy-streams - COPY FROM / COPY TO for node-postgres

  •    Javascript

COPY FROM / COPY TO for node-postgres. Stream from one database to another, and stuff. PostgreSQL supports streaming binary data directly into and out of a table. This means you can take your favorite CSV or TSV or whatever format file and pipe it directly into an existing PostgreSQL table.

p-timeout - Timeout a promise after a specified amount of time

  •    Javascript

Returns a decorated input that times out after ms time.If you pass in a cancelable promise, specifically a promise with a .cancel() method, that method will be called when the pTimeout promise times out.

strip-chromium-logs - strips chromium logs from a stream

  •    Javascript

Strips Chromium logs from a stream, mainly useful for cleaning up Electron's process.stderr stream.Returns a duplexer stream which ignores Chromium-looking logs (which can span several lines) but allows other lines to pass through.




p-break - Break out of a promise chain

  •    Javascript

See "How do I break out of a promise chain?" for a better way. Starts the break. Any .then()'s between here and pBreak.end() are skipped.