Friday, August 5, 2022
HomeWordPress DevelopmentReduct Storage Shopper SDK for JavaScript 0.6.0 was launched

Reduct Storage Shopper SDK for JavaScript 0.6.0 was launched


It is a little replace for individuals who comply with information about Reduct Storage and its ecosystem.

Few days in the past, we launched Reduct Shopper SDK for JavaScript v0.6.0. It helps Reduct Storage HTTP API v0.7. Now you may iterate knowledge for a time interval with out asking a protracted listing of timestamps:

for await (const report in bucket.question("entry-1", start_time, stop_time)) {
  consol.log(report.ts, report.measurement);
  const content material = await report.learn();
  // or use pipe
  const fileStream = fs.createWriteStream(`ts_${report.measurement}.txt`);
  report.pipe(fileStream);
}
Enter fullscreen mode

Exit fullscreen mode

Learn extra about it right here.

You possibly can set up the brand new model with npm:

npm i reduct-js
Enter fullscreen mode

Exit fullscreen mode

And take a look at it with our demo server – https://play.reduct-storage.dev (API token is reduct).

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments