8000 GitHub - fp-dom/fd-select: DOM selector FP style.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fp-dom/fd-select

Repository files navigation

fd-select

Build Status npm version

Select DOM elements, FD style.

Installation

npm install fd-select --save

Usage

var select = require('fd-select').select;
var selectOne = require('fd-select').selectOne;

var foo = select(document)('.foo');
// or
var foo = select('.foo');
// ^ foo is an array!

var foo = selectOne('.foo');
// ^ foo is the first element!

About

DOM selector FP style.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0