Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

data-set

4.0.0 • Public • Published

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

Keywords

none

install

npm i data-set

Downloadsweekly downloads

425

version

4.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability