{
	"name": "nth-check",
	"versions": {
		"1.0.0": {
			"name": "nth-check",
			"version": "1.0.0",
			"description": "performant nth-check parser & compiler",
			"main": "index.js",
			"scripts": {
				"test": "node test"
			},
			"repository": {
				"type": "git",
				"url": "https://github.com/fb55/nth-check"
			},
			"keywords": [
				"nth-child",
				"nth",
				"css"
			],
			"author": {
				"name": "Felix Boehm",
				"email": "me@feedic.com"
			},
			"license": "BSD",
			"bugs": {
				"url": "https://github.com/fb55/nth-check/issues"
			},
			"homepage": "https://github.com/fb55/nth-check",
			"dependencies": {
				"boolbase": "~1.0.0"
			},
			"_id": "nth-check@1.0.0",
			"dist": {
				"shasum": "02fc1277aa2bf8e6083be456104d6a646101a49d",
				"tarball": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.4.2",
			"_npmUser": {
				"name": "feedic",
				"email": "me@feedic.com"
			},
			"maintainers": [
				{
					"name": "feedic",
					"email": "me@feedic.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"1.0.1": {
			"name": "nth-check",
			"version": "1.0.1",
			"description": "performant nth-check parser & compiler",
			"main": "index.js",
			"scripts": {
				"test": "node test"
			},
			"repository": {
				"type": "git",
				"url": "https://github.com/fb55/nth-check"
			},
			"keywords": [
				"nth-child",
				"nth",
				"css"
			],
			"author": {
				"name": "Felix Boehm",
				"email": "me@feedic.com"
			},
			"license": "BSD",
			"bugs": {
				"url": "https://github.com/fb55/nth-check/issues"
			},
			"homepage": "https://github.com/fb55/nth-check",
			"dependencies": {
				"boolbase": "~1.0.0"
			},
			"gitHead": "257338e5bbd53228236abd4cc09539b66b27dd11",
			"_id": "nth-check@1.0.1",
			"_shasum": "9929acdf628fc2c41098deab82ac580cf149aae4",
			"_from": ".",
			"_npmVersion": "2.6.1",
			"_nodeVersion": "1.5.1",
			"_npmUser": {
				"name": "feedic",
				"email": "me@feedic.com"
			},
			"maintainers": [
				{
					"name": "feedic",
					"email": "me@feedic.com"
				}
			],
			"dist": {
				"shasum": "9929acdf628fc2c41098deab82ac580cf149aae4",
				"tarball": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"1.0.2": {
			"name": "nth-check",
			"version": "1.0.2",
			"description": "performant nth-check parser & compiler",
			"main": "index.js",
			"scripts": {
				"test": "node test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/fb55/nth-check.git"
			},
			"keywords": [
				"nth-child",
				"nth",
				"css"
			],
			"author": {
				"name": "Felix Boehm",
				"email": "me@feedic.com"
			},
			"license": "BSD-2-Clause",
			"bugs": {
				"url": "https://github.com/fb55/nth-check/issues"
			},
			"homepage": "https://github.com/fb55/nth-check",
			"dependencies": {
				"boolbase": "~1.0.0"
			},
			"gitHead": "03a02587bbd126fafc3d2331ffef6ea5cb2f9b66",
			"_id": "nth-check@1.0.2",
			"_npmVersion": "6.4.1",
			"_nodeVersion": "10.11.0",
			"_npmUser": {
				"name": "feedic",
				"email": "me@feedic.com"
			},
			"dist": {
				"integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
				"shasum": "b2bd295c37e3dd58a3bf0700376663ba4d9cf05c",
				"tarball": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
				"fileCount": 6,
				"unpackedSize": 5538,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzPm3CRA9TVsSAnZWagAAhM4P/iS5h2NgtCybL1u9veDR\nECfbFBz60HsEQyqJtx3I2b4+cyQq5QnE71H2Hd4UsTmK/eQRaJO4LxWw5H1m\nX/k5+6Zn/UfsazAZQNKK4F+k2LJ90Fg6OuMJx6RTN18RLO7eqeecYKZHNxog\n8gR08VTytTCU6cK9kJvSv+kVOyYGZhd2LUo/uGonQcuUSvelc1rrHAbI0BrG\ncs1l71Oce33mTVkbnfZX6ffURLjoIp51OgBm+OqlXNEJnr99OG3GMOQAYJ3V\nv5wDLz0lDR6fxn5Q9humrBoIoFEsfIjQP3NzJpiFNCUo/27GrijzIO2H0mwf\n63nkfvNYlec6IQYCyZ3guQSNk6AMreZO97XZxbre6jIjUZD3yU8DxmX6WacH\nKEfOdDSL0P2zfszCgTexa4QLtvrSMpyMg1ZeKaOg68ZFIrtWnlAfQ3dCNNmb\nv9YT0xEpuJJ57Bi7iH9MSCLBYa+js11oxoIxivOw+fveNCna+6W6u9B916sc\ntN0Dvyrk3lS01I4AONu5zBStKtwo7/PYnuvdAz01GVaPEufZ93XSwGMdiTys\n1HNVu95I2c2B41Z4meKpIINF83r+16zu0i/+Vu9ocaPIcuxbl9GuBAf3NpRf\nK88HwaPBZAWPo035nohMs290iFliwlc300L7OsT5DbGIH4KVP4jivBQkbsGC\nbBzx\r\n=f9A8\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "feedic",
					"email": "me@feedic.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/nth-check_1.0.2_1540159926746_0.4517908661077017"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2019-01-05T00:41:13.790Z",
		"created": "2014-02-15T15:06:22.622Z",
		"1.0.0": "2014-02-15T15:06:22.622Z",
		"1.0.1": "2015-03-12T12:59:56.470Z",
		"1.0.2": "2018-10-21T22:12:06.854Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "1.0.2"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"46834520a84b5caecc818531a082d8ce\"",
			"fetched": 1602009476537
		}
	},
	"_distfiles": {
		"nth-check-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.0.tgz",
			"sha": "02fc1277aa2bf8e6083be456104d6a646101a49d",
			"registry": "npmjs"
		},
		"nth-check-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz",
			"sha": "9929acdf628fc2c41098deab82ac580cf149aae4",
			"registry": "npmjs"
		},
		"nth-check-1.0.2.tgz": {
			"url": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
			"sha": "b2bd295c37e3dd58a3bf0700376663ba4d9cf05c",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"nth-check-1.0.2.tgz": {
			"shasum": "b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
		}
	},
	"_rev": "13-2470be7b2fdbddfa",
	"_id": "nth-check",
	"readme": "# nth-check [![Build Status](https://travis-ci.org/fb55/nth-check.svg)](https://travis-ci.org/fb55/nth-check)\n\nA performant nth-check parser & compiler.\n\n### About\n\nThis module can be used to parse & compile nth-checks, as they are found in CSS 3's `nth-child()` and `nth-last-of-type()`.\n\n`nth-check` focusses on speed, providing optimized functions for different kinds of nth-child formulas, while still following the [spec](http://www.w3.org/TR/css3-selectors/#nth-child-pseudo).\n\n### API\n\n```js\nvar nthCheck = require(\"nth-check\");\n```\n\n##### `nthCheck(formula)`\n\nFirst parses, then compiles the formula.\n\n##### `nthCheck.parse(formula)`\n\nParses the expression, throws a `SyntaxError` if it fails, otherwise returns an array containing two elements.\n\n__Example:__\n\n```js\nnthCheck.parse(\"2n+3\") //[2, 3]\n```\n\n##### `nthCheck.compile([a, b])`\n\nTakes an array with two elements (as returned by `.parse`) and returns a highly optimized function.\n\nIf the formula doesn't match any elements, it returns [`boolbase`](https://github.com/fb55/boolbase)'s `falseFunc`, otherwise, a function accepting an _index_ is returned, which returns whether or not a passed _index_ matches the formula. (Note: The spec starts counting at `1`, the returned function at `0`).\n\n__Example:__\n```js\nvar check = nthCheck.compile([2, 3]);\n\ncheck(0) //false\ncheck(1) //false\ncheck(2) //true\ncheck(3) //false\ncheck(4) //true\ncheck(5) //false\ncheck(6) //true\n```\n\n---\nLicense: BSD"
}