{"_id":"at-least-node","_rev":"1-edc4c09670120fe7c1c180c32acd800c","name":"at-least-node","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"at-least-node","version":"1.0.0","description":"Lightweight Node.js version sniffing/comparison","keywords":["semver","feature"],"homepage":"https://github.com/RyanZim/at-least-node#readme","bugs":{"url":"https://github.com/RyanZim/at-least-node/issues"},"repository":{"type":"git","url":"git+https://github.com/RyanZim/at-least-node.git"},"license":"ISC","author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com"},"main":"index.js","scripts":{"test":"ava"},"devDependencies":{"ava":"^3.1.0","rewire":"^4.0.1","semver":"^7.1.2"},"engines":{"node":">= 4.0.0"},"gitHead":"6b45626accdfe9431ef860c55f07420f7df2aaa7","_id":"at-least-node@1.0.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==","shasum":"602cd4b46e844ad4effc92a8011a3c46e0238dc2","tarball":"https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz","fileCount":4,"unpackedSize":2625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNfeZCRA9TVsSAnZWagAAbSIP+wfjJvDCi6X0sqUx899m\nY1P04VRJJ4iQqSgqVE3eBzON/jwIAAGnGswhOTQLF6c+s5MMN/LnpeLA9IWM\njLnk/BXYfiiw0IGIxS9qtyV1G6V+d3cVvW4uNhCZVfS1TkxFkGqxI8OoZuy2\nAf3xkmA5b5Nes8aNB4dGE8xEU1NowUBRMAE/Bc/KqwuHY9kwDW/Z2ODsVEVH\nVKiOCAR97Reoe+CKvwIKkYJ8He1ZPkaEd6QWwrQKk8yp1pbleawjqlJ6LJXu\n+JSLe7BLLxOcnC+/U8HHbj0HxqW2k08P1ifoj5A7IYVaelIiow0vgU61QX4Z\n3pfNcTqwalHzC7qVY0fI8h0r1g85aDRqHAOJWer16cprOsE3ArfZ19TLC0Ru\n8w1Nc36+pVjh8+eB0UMT4iZ4SqLMbgkG9rnujkpmujHvEL7Ni9vk1TzoJtTn\nhEm09TfHTtrNq3jaPWUob9c7tTbCYqXBBAkDMz3CV8WytqexZaFWPZtoQBDr\nPbQOTA5v1G26YuxR+pF6DQalmyWoodlUQffaB+oW5cyG23cOey3Re4TnYqyR\nfcZqQg+zHMB3wfDxaAXms+E9PN6VJEWgJ6IA0tN2blRU5a7J/SMkJRDFwYwf\nS1wh20XQ6aC1Uh6h1yYnNi3znSg/rENXr1YRlm7Ju/7cvYS1hqPuMsyhmdaP\nZVrR\r\n=EIWr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOqY/u/ovQtfrGlan3IG1/K/LL2rqBRcGZYja++VpcnQIgGrVKVjt9zE0mV8KwEohkSE6MBYlHArSWfUzL4VvUSgA="}]},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"_npmUser":{"name":"ryanzim","email":"opensrc@ryanzim.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/at-least-node_1.0.0_1580595096651_0.7786210010615195"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-01T22:11:36.651Z","1.0.0":"2020-02-01T22:11:36.789Z","modified":"2022-04-11T15:37:28.122Z"},"maintainers":[{"name":"ryanzim","email":"opensrc@ryanzim.com"}],"description":"Lightweight Node.js version sniffing/comparison","homepage":"https://github.com/RyanZim/at-least-node#readme","keywords":["semver","feature"],"repository":{"type":"git","url":"git+https://github.com/RyanZim/at-least-node.git"},"author":{"name":"Ryan Zimmerman","email":"opensrc@ryanzim.com"},"bugs":{"url":"https://github.com/RyanZim/at-least-node/issues"},"license":"ISC","readme":"# at-least-node\n\n![npm](https://img.shields.io/npm/v/at-least-node)\n![node](https://img.shields.io/node/v/at-least-node)\n![NPM](https://img.shields.io/npm/l/at-least-node)\n\nSometimes you need to check if you're on _at least_ a given Node.js version, but you don't want to pull in the whole [`semver`](https://www.npmjs.com/package/semver) kitchen sink. That's what `at-least-node` is for.\n\n| Package         | Size    |\n| --------------- | ------- |\n| `at-least-node` | 2.6 kB  |\n| `semver`        | 75.5 kB |\n\n```js\nconst atLeastNode = require('at-least-node')\natLeastNode('10.12.0')\n// -> true on Node 10.12.0+, false on anything below that\n```\n\nWhen passing in a version string:\n\n- You cannot include a leading `v` (i.e. `v10.12.0`)\n- You cannot omit sections (i.e. `10.12`)\n- You cannot use pre-releases (i.e. `1.0.0-beta`)\n- There is no input validation, if you make a mistake, the resulting behavior is undefined\n","readmeFilename":"README.md"}