.yarn-metadata.json 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "manifest": {
  3. "name": "at-least-node",
  4. "version": "1.0.0",
  5. "description": "Lightweight Node.js version sniffing/comparison",
  6. "keywords": [
  7. "semver",
  8. "feature"
  9. ],
  10. "homepage": "https://github.com/RyanZim/at-least-node#readme",
  11. "bugs": {
  12. "url": "https://github.com/RyanZim/at-least-node/issues"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "git+https://github.com/RyanZim/at-least-node.git"
  17. },
  18. "license": "ISC",
  19. "author": {
  20. "name": "Ryan Zimmerman",
  21. "email": "opensrc@ryanzim.com"
  22. },
  23. "main": "index.js",
  24. "files": [],
  25. "scripts": {
  26. "test": "ava"
  27. },
  28. "devDependencies": {
  29. "ava": "^3.1.0",
  30. "rewire": "^4.0.1",
  31. "semver": "^7.1.2"
  32. },
  33. "engines": {
  34. "node": ">= 4.0.0"
  35. },
  36. "_registry": "npm",
  37. "_loc": "/home/jovyan/.cache/yarn/v6/npm-at-least-node-1.0.0-602cd4b46e844ad4effc92a8011a3c46e0238dc2-integrity/node_modules/at-least-node/package.json",
  38. "readmeFilename": "README.md",
  39. "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",
  40. "licenseText": "The ISC License\nCopyright (c) 2020 Ryan Zimmerman <opensrc@ryanzim.com>\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n"
  41. },
  42. "artifacts": [],
  43. "remote": {
  44. "resolved": "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2",
  45. "type": "tarball",
  46. "reference": "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz",
  47. "hash": "602cd4b46e844ad4effc92a8011a3c46e0238dc2",
  48. "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
  49. "registry": "npm",
  50. "packageName": "at-least-node",
  51. "cacheIntegrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== sha1-YCzUtG6EStTv/JKoARo8RuAjjcI="
  52. },
  53. "registry": "npm",
  54. "hash": "602cd4b46e844ad4effc92a8011a3c46e0238dc2"
  55. }