Have ideas to improve npm?Join in the discussion! »

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

7,477

Version

4.0.0

License

none

Last publish

Collaborators

  • avatar