A Super Fast And Compatible Css3 Selector Engine
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
libs/qunit
src
test
CONTRIBUTING.md
Gruntfile.js
LICENSE-MIT
LICENSE.md
README.md
package.json
project.json

README.md

A Super Fast And Compatible CSS Selector Engine

A Super Fast And Compatible CSS Selector Engine with selectors of css1/2/3 supported.

Getting Started

Download the production version or the development version.

Speed Test At: Slickspeed.

In your web page:

<script src="dist/query.min.js"></script>
<script>
	var a = query('#id');
	var b = query('.class');
	var c = query('div div');
	var d = query('div:nth-child(even)');
</script>

OR in your javascript module:

require(['path/to/query'], function(query) {
	var a = query('#id');
	var b = query('.class');
	var c = query('div div');
	var d = query('div:nth-child(even)');
});

##NOTE

All codes was refactoring. complier will choose the fastest matching types(left-to-rigth or right-to-left or both) depends on selector.

another, XPath was bring in to handle XML Document query under IE < 9(or with the same kernel/feature).

Documentation

(Coming soon)

Release History

(Nothing yet)

Features

compatibility - all major browsers ie6+/chrome/firefox/opera/safari.

light - 20kb minified, only 8.9kB minified and gzipped.

super fast - pre-compile selector to a query function or xpath expression.

reliable - not cache result

documents support - works on both XML/HTML.

Contact

admin@veryos.com aaron.xiao

Help

If you have any questions, feel free to create ticket or contact via email.

weibo: http://weibo.com/veryos.

email: admin@veryos.com

License

Available under the terms of the MIT License.