min-find

1.1.4 • Public • Published

min-find

Build status NPM version Downloads Dependency Status

simple Sizzle like query selector

Installation

npm i min-find

Usage

var find = require('min-find')
var elements = find(selector [, containerElement])

always return node list in array type

Support

  • id find('#id')
  • tag find('#h1')
  • css query find('div > h1, div > h2')

css query use element.querySelectorAll

Custom

You can custom the css query by self, if your browser has no query selector like IE8-

e.g.

find.custom = Sizzle

License

License

Readme

Keywords

Package Sidebar

Install

npm i min-find

Weekly Downloads

37

Version

1.1.4

License

ISC

Last publish

Collaborators

  • ftft1885