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

Readme

Keywords

none

Package Sidebar

Install

npm i data-set

Weekly Downloads

584

Version

4.0.0

License

none

Last publish

Collaborators

  • raynos