Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @dasdata/platform with all npm packages installed. Try it out:

var platform = require("@dasdata/platform")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@dasdata/platform v1.0.6

Get your data together

platform

NPM Package of DasData

DasData helps you store any kind of data that you can measure. You can fill your channels with forms, applications or get live sensors data in one single place.

usage

const das = require("@dasdata/platform");

// Based on number of elements you configured delimited with | 
var _data = '1.4|44|5.62';  
// Tokens from 
var _aKey = {Paste USER TOKEN Here};
var _dsKey = {Paste DATASET TOKEN Here};
 
// send records to your database
das('send',_data,_dsKey,_aKey);
// get latest 200 records
das('get', '', _dsKey, '');

learn more

https://dasdata.co/tutorials.aspx

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free