File: /home/imensosw/.npm/registry.npmjs.org/nth-check/.cache.json
{"_id":"nth-check","_rev":"5-3fd876108329d416c16ef00af5de9d77","name":"nth-check","description":"performant nth-check parser & compiler","dist-tags":{"latest":"1.0.2"},"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":"http://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":{}},"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":"http://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz"},"directories":{}},"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}},"readme":"# nth-check [](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\n","maintainers":[{"name":"feedic","email":"me@feedic.com"}],"time":{"modified":"2018-10-21T22:12:09.446Z","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"},"readmeFilename":"README.md","homepage":"https://github.com/fb55/nth-check","keywords":["nth-child","nth","css"],"repository":{"type":"git","url":"git+https://github.com/fb55/nth-check.git"},"author":{"name":"Felix Boehm","email":"me@feedic.com"},"bugs":{"url":"https://github.com/fb55/nth-check/issues"},"license":"BSD-2-Clause","users":{"mojaray2k":true},"_etag":"W/\"60d3c860ee942cc1e5a6a1aa8201ec46\"","_lastModified":"Sun, 21 Oct 2018 22:12:10 GMT","_cached":true}