Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dslink

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dslink

DSLink/DSA IoT platform SDK for node.js and the Web.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by125%
Maintainers
1
Weekly downloads
 
Created
Source

JavaScript SDK for the DSA protocol.

This is the new JavaScript SDK, which is a wrapper around the Dart SDK. Please report all bugs about the new SDK here and not on the Dart SDK repository.

An older version of the SDK can be found at the old-sdk branch (not right now, this isn't merged into master yet). This is the primary SDK, and the old-sdk branch will only be officially supported for bugs.

Examples

For a heavily annotated example on using the JavaScript SDK, please look at the Template DSLink.

Packaging

In it's most simple form, simply use dslink by downloading the latest version from npm.

npm install --save dslink

To package, you'll need a recent version of node.js installed (0.10, 0.12, io.js), as well as the newest version of the Dart VM, dart2js, and pub.

grind [node|browser]

A compiled version of the DSLink API can now be found at dist/dslink.[node|browser].js. A minified version can be found at dist/dslink.[node|browser].min.js.

The SDK can be used in browser under the DS namespace in the browser, or just normally via require() with node.

We also have an automated build system that pushes built versions of the SDK to the artifacts branch. Here is an example of adding the branch to your package.json.

"dependencies": {
  "dslink": "IOT-DSA/sdk-dslink-javascript#artifacts"
}

FAQs

Package last updated on 21 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc