🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

data-set

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-set

Element#dataset abstraction

4.0.0
latest
Version published
Weekly downloads
817
-1.21%
Maintainers
1
Weekly downloads
 
Created

data-set

Element#dataset abstraction

Example

<div data-foo="bar"></div>
var DataSet = require("data-set")
    , assert = require("assert")

var elem = thatElement
    , ds = DataSet(elem)

assert.equal(ds.foo, "bar")

Installation

npm install data-set

Contributors

  • Raynos

MIT Licenced

FAQs

Package last updated on 21 Dec 2014

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