nth-check
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "nth-check", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "performant nth-check parser & compiler", | ||
@@ -13,2 +13,7 @@ "main": "index.js", | ||
}, | ||
"files": [ | ||
"compile.js", | ||
"index.js", | ||
"parse.js" | ||
], | ||
"keywords": [ | ||
@@ -20,3 +25,3 @@ "nth-child", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
"license": "BSD", | ||
"license": "BSD-2-Clause", | ||
"bugs": { | ||
@@ -23,0 +28,0 @@ "url": "https://github.com/fb55/nth-check/issues" |
@@ -1,6 +0,6 @@ | ||
#nth-check [![Build Status](https://travis-ci.org/fb55/nth-check.png)](https://travis-ci.org/fb55/nth-check) | ||
# nth-check [![Build Status](https://travis-ci.org/fb55/nth-check.svg)](https://travis-ci.org/fb55/nth-check) | ||
A performant nth-check parser & compiler. | ||
###About | ||
### About | ||
@@ -11,3 +11,3 @@ This module can be used to parse & compile nth-checks, as they are found in CSS 3's `nth-child()` and `nth-last-of-type()`. | ||
###API | ||
### API | ||
@@ -18,7 +18,7 @@ ```js | ||
#####`nthCheck(formula)` | ||
##### `nthCheck(formula)` | ||
First parses, then compiles the formula. | ||
#####`nthCheck.parse(formula)` | ||
##### `nthCheck.parse(formula)` | ||
@@ -33,3 +33,3 @@ Parses the expression, throws a `SyntaxError` if it fails, otherwise returns an array containing two elements. | ||
#####`nthCheck.compile([a, b])` | ||
##### `nthCheck.compile([a, b])` | ||
@@ -36,0 +36,0 @@ Takes an array with two elements (as returned by `.parse`) and returns a highly optimized function. |
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
0
5538
6
69