{"_id":"node-version","_rev":"20-24ff9a1b80a572ef7ab073650f37fdd5","name":"node-version","dist-tags":{"latest":"4.3.0"},"versions":{"0.1.0":{"name":"node-version","version":"0.1.0","keywords":["version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"_id":"node-version@0.1.0","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","dist":{"shasum":"0c265da21faa6df8aaeeb3714b9cce0a0b856012","tarball":"https://registry.npmjs.org/node-version/-/node-version-0.1.0.tgz","integrity":"sha512-4HOfoUsFIQGiDyuaj2hSYQa+so5vL/z+rd2QCLZm8t8UxVXGf59PTfVnRqWOi0bVmEypoHQv8Tqz1be7xZgDKw==","signatures":[{"sig":"MEYCIQDh87lBBlOHeeFWH9r9bAxvznZgGwfsWUN9/FAAn8GJFgIhAJYo+ZUn7hBQ3slIxTZeI9KlfTub6ZT8FdoOE5cRzSY4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","engines":{"node":"*"},"scripts":{},"repository":{"url":"git://github.com/srod/node-version.git","type":"git"},"_npmVersion":"1.0.23","description":"Get NodeJS current version","directories":{},"_nodeVersion":"v0.4.10","_npmJsonOpts":{"file":"/Users/rodolphe/.npm/node-version/0.1.0/package/package.json","wscript":false,"serverjs":false,"contributors":false},"dependencies":{},"_defaultsLoaded":true,"devDependencies":{},"_engineSupported":true},"1.0.0":{"name":"node-version","version":"1.0.0","keywords":["version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"_id":"node-version@1.0.0","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"1b9b9584a9a7f7a6123f215cd14a652bf21ab19e","tarball":"https://registry.npmjs.org/node-version/-/node-version-1.0.0.tgz","integrity":"sha512-B6bmLPGU7cRFjv3kYcAm5eQNCPwHJL+4aLbkJTY+lCIRkiWth+omq5lS/UgCvR3wtlWlEzMRvBSjzXGRZ8vuiw==","signatures":[{"sig":"MEQCIFZ06hnP1wTUXN1FfiGHbdNgTuopFGo+LyVHLhoqqC8gAiBiRTd4i80yBP7WQiCrF5wnPMtLxMer/IS0hdLgXC8zQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./index.js","_from":".","_shasum":"1b9b9584a9a7f7a6123f215cd14a652bf21ab19e","gitHead":"079a18407ee44c8bbc10de2f546fc8fa8bb8f7e4","scripts":{},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"2.14.2","description":"Get NodeJS current version","directories":{},"_nodeVersion":"0.12.7","devDependencies":{"semver":"^5.0.1"}},"1.1.0":{"name":"node-version","version":"1.1.0","keywords":["version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@1.1.0","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"f437d7ba407e65e2c4eaef8887b1718ba523d4f0","tarball":"https://registry.npmjs.org/node-version/-/node-version-1.1.0.tgz","integrity":"sha512-t1V2RFiaTavaW3jtQO0A2nok6k7/Gghuvx2rjvICuT0B0dYaObBQ4U0xHL+ZTPFZodt1LMYG2Vi2nypfz4/AJg==","signatures":[{"sig":"MEYCIQDpGtGYEX09B+HKGFMIaZDkbBnGgmrVzZ0NcmI7qgfZNgIhAK0k+kOeVj1yZJkCCvzgj0qPxkbCVftAQFvkDNu+mlxA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"notify":true,"verbose":true,"testEnvironment":"node"},"main":"./index.js","engines":{"node":">=4.0.0"},"gitHead":"babd3058068c62ad9b871a9c612ed2ac659dfc37","scripts":{"test":"jest","clean":"rm -rf ./coverage","eslint":"eslint index.js || true","pretest":"npm run eslint","posttest":"npm run clean","test-cov":"npm run pretest && jest --coverage","publish-beta":"npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","publish-latest":"npm publish"},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"5.3.0","description":"Get NodeJS current version","directories":{},"_nodeVersion":"7.10.0","dependencies":{},"devDependencies":{"jest":"20.0.4","eslint":"3.19.0"},"_npmOperationalInternal":{"tmp":"tmp/node-version-1.1.0.tgz_1501159265503_0.804288427811116","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"node-version","version":"1.1.2","keywords":["version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@1.1.2","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"692762ac17a85e5ca40140102cb268a55e25d6d1","tarball":"https://registry.npmjs.org/node-version/-/node-version-1.1.2.tgz","fileCount":7,"integrity":"sha512-0DuAB3psr1K5b4b3LSBBwo/fHr4LebUV/XWEPLw1SHrnZQG4urkTOwd7gm1C8VZ5iM2apBICW6psVbS4dZCFcQ==","signatures":[{"sig":"MEUCIGDeszuwLTpNjeUMSu8UrDVYcUjFigrzRXkd8xjPCzhTAiEAvmpaQhB1WLE78hN2Ycer6ytJlHSp50mAqQcFSbgLoqI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7330},"jest":{"notify":true,"verbose":true,"collectCoverage":true,"testEnvironment":"node","coverageDirectory":"./coverage/"},"main":"./index.js","engines":{"node":">=4.0.0"},"gitHead":"76acde087d0ffad48677057c42359799061cb9b3","scripts":{"test":"jest","clean":"rm -rf ./coverage","eslint":"eslint index.js || true","pretest":"npm run eslint","posttest":"npm run clean","publish-beta":"npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","publish-latest":"npm publish"},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"5.6.0","description":"Get NodeJS current version","directories":{},"_nodeVersion":"9.8.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"21.2.1","eslint":"4.19.0","codecov":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-version_1.1.2_1521662776364_0.5752740635872986","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"node-version","version":"1.1.3","keywords":["version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@1.1.3","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"1081c87cce6d2dbbd61d0e51e28c287782678496","tarball":"https://registry.npmjs.org/node-version/-/node-version-1.1.3.tgz","fileCount":4,"integrity":"sha512-rEwE51JWn0yN3Wl5BXeGn5d52OGbSXzWiiXRjAQeuyvcGKyvuSILW2rb3G7Xh+nexzLwhTpek6Ehxd6IjvHePg==","signatures":[{"sig":"MEUCIEJpdrnlOV4fVMsUJiCO0r1GUZ8f7ApG7ybjXfOsKmAYAiEA3Zy2pqjK3mG9I+7VgSn3xddmsGux5npcYm2N9CKpGTY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5083},"jest":{"notify":true,"verbose":true,"collectCoverage":true,"testEnvironment":"node","coverageDirectory":"./coverage/"},"main":"./index.js","engines":{"node":">=4.0.0"},"gitHead":"eb47a95fe6dc10ad4efc8ac344d5112ed547b88c","scripts":{"test":"jest","clean":"rm -rf ./coverage","eslint":"eslint index.js || true","pretest":"npm run eslint","posttest":"npm run clean","publish-beta":"npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","publish-latest":"npm publish"},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"5.7.1","description":"Get NodeJS current version","directories":{},"_nodeVersion":"9.8.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"21.2.1","eslint":"4.19.0","codecov":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-version_1.1.3_1521663397009_0.5176759886180631","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"node-version","version":"1.2.0","keywords":["node","version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@1.2.0","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"34fde3ffa8e1149bd323983479dda620e1b5060d","tarball":"https://registry.npmjs.org/node-version/-/node-version-1.2.0.tgz","fileCount":4,"integrity":"sha512-ma6oU4Sk0qOoKEAymVoTvk8EdXEobdS7m/mAGhDJ8Rouugho48crHBORAmy5BoOcv8wraPM6xumapQp5hl4iIQ==","signatures":[{"sig":"MEUCIHv5q3+/47BAmS8f2NFhlBIIyZlFxytzDRP3QOpRzyMWAiEA1NrzbnoPrNVC+mZXgo9ZUtjCFDK8HuxWbwE3HvQIu+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLMjXCRA9TVsSAnZWagAAo1cP+wVfPQZ1W84NLRknMX1K\nRKey4Vx2N/IXExYJtnEFnp8WLmnJOVRXJvW8I2Q+hT20Um8L+4ysAoNnMAey\nHXzm8p21QmWjHAQFG/Re7uYk8nRXwQ/HpIYUyuuI54QYe3byW93ccD4tjGPf\nvm5YD6G1AC3sL6NOASia9K/ymYWvfBKcnna8HR7yBYeKw+uDCCMlYFPhvcGd\nWHSV6lwcEiW/zJMWcXmdDTZyRJRFyC5yvkehs/1ykptXH42tGT1upYfj747q\ndG69mU7uDlnh1LmrM/SMRb9z8NyqfRPivLepjUquvTrEZW9i3A963Dv/Dx3o\n6a7b5LhOHbtebRtmmDcKMLrdlit9u86F/f4Vd2Qfnq8jXd1/ySC6KaqDh68e\nk2Pq5MQAkHcSDFyEuZinUmNMfG7yFlncpWd7dt0I7lE6jYVTtM4UmtcnKDWr\nbbUQFb0hakMpeQWPW+NZJW7KisvGFpNTPIUKESRMXCUjJj+j30doYcFf3yXP\nu+UxA0UO9/yTuP7H6of/yxFDWCeJk0FKNuBryQu/pvUVUPbu+wW0NQqxVFwW\nREd6or+pUcYXp/3UlVyhbczWYKwZFO00nKvTbzZUAi8qEGwgjFbAeXyf+/Bc\nWY2sekvyHaz/yyPrzA+Qm2dqaPBMyTq2i4aN4S4Oj2xqgiPJVXWMIpI+5fyI\ncu2i\r\n=RPQ3\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"notify":true,"verbose":true,"collectCoverage":true,"testEnvironment":"node","coverageDirectory":"./coverage/","testPathIgnorePatterns":["/node_modules/",".history"]},"main":"./index.js","engines":{"node":">=6.0.0"},"gitHead":"6ad5d52d28b854dbc3e30e69835d53b86ab0c6b0","scripts":{"test":"jest","eslint":"eslint index.js || true","pretest":"npm run eslint","publish-beta":"npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","publish-latest":"npm publish"},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"6.1.0","description":"Get Node current version","directories":{},"_nodeVersion":"10.3.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"23.1.0","eslint":"4.19.1","codecov":"3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/node-version_1.2.0_1529661655894_0.45812450153176565","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"node-version","version":"2.0.0","keywords":["node","version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@2.0.0","maintainers":[{"name":"srod","email":"rodolphe@2clics.net"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"6d2960680316d4b6722c76bdffd2dbcc05cc10e3","tarball":"https://registry.npmjs.org/node-version/-/node-version-2.0.0.tgz","fileCount":5,"integrity":"sha512-uQqN+/BiN+5gChfO8RQUR7kHoaC7ln41ox0+/2vEGyHGZ3sSDlaFW5v7qkJx3TfdOns4qiGWzsVAHNwTVG3juA==","signatures":[{"sig":"MEYCIQCCzpOgfi3Exl3vuKe/GS7m+hY3tFBwqDnfmHd5yMQ/iQIhAN/P9Wxiy35gsfiIj6x74E8H0IQ7DsDom9xYCYIK4OZ+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhO/qCRA9TVsSAnZWagAAursP/0zQWiaUZoaNZ0D7Cmdb\nLBJWVgnMMOv8kuN6uaUjTKQJw8PKyxfRWqh9CPWrYVdeXnhr9FeWnj1HGmHP\n5wT7gcdUJ/BVjrhDg7dY5keNyGTZhUyVvy6MGv6g/q4cGHA39p2szUfujRP2\n5SDin6G3j/ylyeiS1P6eS9U0ZubxR3ppuS96UWK0/EAKF4iQV64nBh7pi2AH\nrB/OoQChmrtsQ9uAR9UYLyptNFUD9HTdTd8WyzmonRSehesKBe40M2aLkdHW\nCdQ4pnaxRvTMG6yigDohqAEYTze/WYAx9eGCyGGG7XuDnSZMt+G7nkRKbjD6\nS0kimQtQQF6Dyox6jhte3bFZX11LZ+RUdNmNHVFEyPtHNOOAzODTqWW2GIrF\nv/3R99rC6U7Y36w2PWqseUSCyvNJcgVZGdAbBd9TL7g9VXFa/LC//tY1FdCO\nn70Ywb3s4ozSXG8uWjUNEyb8iReiDqzIBKEy4GrAgTgIZdxs66+MIwekUI0z\n9UKpfZUQQRbmsGTlFCbGsY6jib/O2Al3BnjAXur6Be/xWg4bx6oy9z5hCKK3\nYyKbdSwan3bJ/DFK7e8sUpCaNBAQxTpDoPpqcVvi4Yvi6+H8XpHR02VX+Jai\ncmqX9Kk2z6qqjwtjTGKDtVyhRBpNL8d+D7wg0Ie29CVVY6RRP1l+vVFQyy5U\nN6ZX\r\n=RIJx\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"notify":true,"verbose":true,"collectCoverage":true,"testEnvironment":"node","coverageDirectory":"./coverage/","testPathIgnorePatterns":["/node_modules/",".history"]},"main":"./index.js","engines":{"node":">=8.0.0"},"gitHead":"a9cb68ec3abe55edc6947258e8211725fe958450","scripts":{"test":"jest","eslint":"eslint index.js || true","pretest":"npm run eslint","publish-beta":"npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","publish-latest":"npm publish"},"_npmUser":{"name":"srod","email":"srodolphe@gmail.com"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"6.11.3","description":"Get Node current version","directories":{},"_nodeVersion":"12.6.0","_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","eslint":"6.4.0","codecov":"3.6.1"},"_npmOperationalInternal":{"tmp":"tmp/node-version_2.0.0_1568993257913_0.03646028507744581","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"node-version","version":"3.0.0","keywords":["node","version"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@3.0.0","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"1ee8880d416469fbec6fa50e3e57db1bc98c9cc4","tarball":"https://registry.npmjs.org/node-version/-/node-version-3.0.0.tgz","fileCount":8,"integrity":"sha512-lOtS3Vaqo4GntMFYyH6BXbpiqgD5F+5ycBwDYaCjzBA9pKK9G1j6cKVtu3HU0HATDTikcWOTn8MxQmj/jo4iTQ==","signatures":[{"sig":"MEYCIQDaq94nIPrWzoMEIl/z374THi2r/hqOg8BODn8eupDeTgIhAOAxRIHYa7LWstgObMDNfvRDhgvjPx4rf3hIcmVBcETS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7l05ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7bw//R6tp9Ex8yBoBgLCFt6SINfOFlbD2ofGI7QWqIOPRfT6kp6HT\r\nfcSeOqPUzqjFm3MwsEN3DPTBd/7zCiEA9KtmbuQ7PqGpL5ou50eyAKBENIfc\r\nz+byA1N2MtV5gzx+gy2V7b8kKBoAsvhk0npVX2u18tKOS+SZ8ew5Zat0xPoe\r\nKsP5x8HQ5ECGo9Wz9AV/oBbFcnZAmYgXEHc68GFVi0S4/mzF1Z8VgYIQH16v\r\nAE8PBwEqEh3w5+/prrXI2vTgeBiLkhqgsGZK+9C64kwmqTF1WeRCGwkOhH+k\r\n0ZaVB5wJTOFMwHSJEpLlOEpp17hICeDavU4W9/cOvOoZ2cuQ0DqB48u5+1lc\r\nn3UL6vA2hwpp6OYnk5MBNjdHlyzzxC7FmtCbQ/u7Ku/TaCrKDbR8y1070xBI\r\n9S5o/svvnkQGU7pvEQkvDy1l7JnjC7Bgu+kKdOoQyg4GbRVMdwOkfBlTAhaU\r\nKt+eebsII1Kf4rhUv+DtCa9uFMMN0gfL+37+bzhw+7ieoV3g/WRD8nTYqGR/\r\nEUUfT876z8/G1yGb5Mlko0ixU+XjiNzjayAq72M5ePCd4yjv9UJEaNa91key\r\nucCXqe0UKSQ6iPpFdX4GJQob4QNHGdxJE0ZztSt7ZiMFVufxo0IVtcrocLB0\r\nP7N7DyQLcf9q4e8AdgqDBN+DImVc9zDEDuQ=\r\n=CYiG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"10525f28d9796ad0053e7b7a51e77b0018b65d2b","scripts":{"lint":"pnpm run eslint || true","test":"vitest","build":"pnpm clean && tsup src/index.ts --format cjs,esm --dts --clean --sourcemap","clean":"pnpm dlx rimraf dist","eslint":"eslint --ext .ts .","pretest":"pnpm run build && pnpm run eslint","coverage":"vitest run --coverage","coverage:ci":"vitest run --coverage","publish-beta":"NPM_CONFIG_OTP=xxx npm publish --tag beta","release-major":"npm version major -m 'Bump %s' && git push --tags origin HEAD:master","release-minor":"npm version minor -m 'Bump %s' && git push --tags origin HEAD:master","release-patch":"npm version patch -m 'Bump %s' && git push --tags origin HEAD:master","precoverage:ci":"pnpm run build && pnpm run eslint","prepublishOnly":"pnpm build","publish-latest":"NPM_CONFIG_OTP=xxx npm publish"},"_npmUser":{"name":"srod","email":"rodolphe@stoclin.fr"},"prettier":{"printWidth":120,"arrowParens":"avoid","singleQuote":true,"trailingComma":"none"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"9.5.0","description":"Get Node current version","directories":{"lib":"dist","test":"__tests__"},"lint-staged":{"*.ts":["prettier --write","git add"]},"_nodeVersion":"16.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.27.0","devDependencies":{"tsup":"6.6.3","husky":"8.0.3","eslint":"8.34.0","rimraf":"4.1.2","vitest":"0.28.5","codecov":"3.8.3","prettier":"2.8.4","typescript":"4.9.5","@types/node":"18.13.0","lint-staged":"13.1.2","node-notifier":"10.0.1","@tsconfig/node14":"1.0.3","@vitest/coverage-c8":"0.28.5","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","@typescript-eslint/parser":"5.52.0","@typescript-eslint/eslint-plugin":"5.52.0"},"_npmOperationalInternal":{"tmp":"tmp/node-version_3.0.0_1676565816910_0.8191663905883979","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"node-version","version":"4.0.0","keywords":["node","version","runtime","environment","semver"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@4.0.0","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"e9014915f7857803b82066821feb2df91e45714e","tarball":"https://registry.npmjs.org/node-version/-/node-version-4.0.0.tgz","fileCount":7,"integrity":"sha512-+EZvYijWU2W9/igu33xBihYGeW5N3xBbn1jDwtOy70RjWCGJyXWijj4DGYh+ZyAeL9mrOs9krd4KJ01g7xOi6A==","signatures":[{"sig":"MEUCIQCebJ0AOSyOaB+d1haUqYbnxW1UPZd739FdnEaT2990mwIgOP8Qrh/rqbR5sR8HZcZ9ZwJn5Ykl6GelCrV5pZBBGVc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16029},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"gitHead":"5c908cab1a2f91233a1e66f924a072e4ad0cfad4","scripts":{"lint":"biome lint .","test":"vitest run","build":"tsdown","format":"biome format . --write","pretest":"bun run lint","test:ci":"vitest run --coverage","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome check .","check-exports":"attw --pack . --profile esm-only","prepublishOnly":"bun run build","changeset:release":"bun run build && changeset publish","changeset:version":"changeset version && bun install --no-frozen-lockfile"},"_npmUser":{"name":"srod","email":"rodolphe@stoclin.fr"},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"10.9.4","description":"Get Node current version","directories":{"lib":"dist"},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsdown":"0.18.3","vitest":"4.0.16","typescript":"5.9.3","@types/node":"24.10.4","@biomejs/biome":"2.3.10","@changesets/cli":"2.29.8","@vitest/coverage-v8":"4.0.16","@arethetypeswrong/cli":"0.18.2","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/node-version_4.0.0_1766791958309_0.5465789736052244","host":"s3://npm-registry-packages-npm-production"}},"4.0.2":{"name":"node-version","version":"4.0.2","keywords":["node","version","runtime","environment","semver"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@4.0.2","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"68586618a86870cd2a44d7fd6df91eec0e371d38","tarball":"https://registry.npmjs.org/node-version/-/node-version-4.0.2.tgz","fileCount":7,"integrity":"sha512-xO/lewnds4HXSf0DDvqsxU4PQgQIIZcp8dJI4pTQNqTMHkWApyGP/cHPQQvpxzD55LfZn4ckTayxyQ19iCJwMw==","signatures":[{"sig":"MEUCIGg459DK+EDH+EJGx8lsHag8RoYhwy3qmBHaViOKcgWsAiEAtN6HlEGqbZ6W9ZPo27orLWilaq6hibO/O4ERK3oyne4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-version@4.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16042},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"gitHead":"212b7c8bf0ff908d5eb87d66300733cefac6a790","scripts":{"lint":"biome lint .","test":"vitest run","build":"tsdown","format":"biome format . --write","pretest":"bun run lint","test:ci":"vitest run --coverage","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome check .","check-exports":"attw --pack . --profile esm-only","prepublishOnly":"bun run build","changeset:release":"bun run build && changeset publish --provenance","changeset:version":"changeset version && bun install --no-frozen-lockfile"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6625313-69d3-4243-abee-13e40078e5c6"}},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"11.7.0","description":"Get Node current version","directories":{"lib":"dist"},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsdown":"0.18.3","vitest":"4.0.16","typescript":"5.9.3","@types/node":"24.10.4","@biomejs/biome":"2.3.10","@changesets/cli":"2.29.8","@vitest/coverage-v8":"4.0.16","@arethetypeswrong/cli":"0.18.2","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/node-version_4.0.2_1766921668427_0.2032918754997115","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"node-version","version":"4.1.0","keywords":["node","version","runtime","environment","semver"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@4.1.0","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"e737edeb1a4ee9154f4a57ff233462476e10e48b","tarball":"https://registry.npmjs.org/node-version/-/node-version-4.1.0.tgz","fileCount":7,"integrity":"sha512-VaMndlAdLjzPEyxQMSCPkj1RYI7ySkdiz8JPsu8lnfvdEHEOm3XD2pcyFGYYBHDgsj+JT1679+VfeRgEZ3hTKg==","signatures":[{"sig":"MEUCIQDLaytYIbCNUJhsbEAnbXtPEX12Y05DeE7JOe5DLL2SLgIgDZROLYCgr915Ksg8wvzkkTmFo09jaKkRSnHrGc+Q/04=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-version@4.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16668},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"gitHead":"1dad4b8282a8913489b69ac8574d1911722f0f66","scripts":{"lint":"biome lint .","test":"vitest run","build":"tsdown","format":"biome format . --write","pretest":"bun run lint","test:ci":"vitest run --coverage","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome check .","check-exports":"attw --pack . --profile esm-only","prepublishOnly":"bun run build","changeset:release":"bun run build && changeset publish --provenance","changeset:version":"changeset version && bun install --no-frozen-lockfile"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6625313-69d3-4243-abee-13e40078e5c6"}},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"11.7.0","description":"Get Node current version","directories":{"lib":"dist"},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsdown":"0.18.4","vitest":"4.0.16","typescript":"5.9.3","@types/node":"24.10.4","@biomejs/biome":"2.3.10","@changesets/cli":"2.29.8","@vitest/coverage-v8":"4.0.16","@arethetypeswrong/cli":"0.18.2","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/node-version_4.1.0_1767450103411_0.11281876199926089","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"node-version","version":"4.2.0","keywords":["node","version","runtime","environment","semver"],"author":{"url":"http://2clics.net","name":"Rodolphe Stoclin","email":"rodolphe@2clics.net"},"license":"MIT","_id":"node-version@4.2.0","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"homepage":"https://github.com/srod/node-version","bugs":{"url":"https://github.com/srod/node-version/issues"},"dist":{"shasum":"02304d1091d11adc3caad48705a7b16b3b263745","tarball":"https://registry.npmjs.org/node-version/-/node-version-4.2.0.tgz","fileCount":7,"integrity":"sha512-m6djzvrVij7/g2Yb/srjPi/wI0Hvj1uPLbiHi3SegPwA/HhIRZkOXx64axBVxnFby5fUH50g3TcIWszz+nsQ/g==","signatures":[{"sig":"MEUCIQDRpxIrKr5PutPPRxZudxyeimZzSSnqfg6RreTs38yVMAIgSFjYR7wN+ND58FSATQn0DAiPfOACVFePvF701dW/j+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-version@4.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19497},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"gitHead":"0c22e76abaef44ece773553845db15b38d4224f3","scripts":{"lint":"biome lint .","test":"vitest run","build":"tsdown","format":"biome format . --write","pretest":"bun run lint","test:ci":"vitest run --coverage","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"biome check .","check-exports":"attw --pack . --profile esm-only","prepublishOnly":"bun run build","changeset:release":"bun run build && changeset publish --provenance","changeset:version":"changeset version && bun install --no-frozen-lockfile"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6625313-69d3-4243-abee-13e40078e5c6"}},"repository":{"url":"git+https://github.com/srod/node-version.git","type":"git"},"_npmVersion":"11.7.0","description":"Get Node current version","directories":{"lib":"dist"},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"tsdown":"0.18.4","vitest":"4.0.16","typescript":"5.9.3","@types/node":"24.10.4","@biomejs/biome":"^2.3.11","@changesets/cli":"2.29.8","@vitest/coverage-v8":"4.0.16","@arethetypeswrong/cli":"0.18.2","@total-typescript/tsconfig":"1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/node-version_4.2.0_1767733901203_0.6612922331006554","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"node-version","version":"4.3.0","description":"Get Node current version","keywords":["node","version","runtime","environment","semver"],"author":{"name":"Rodolphe Stoclin","email":"rodolphe@2clics.net","url":"http://2clics.net"},"homepage":"https://github.com/srod/node-version","license":"MIT","type":"module","engines":{"node":">=20.0.0"},"sideEffects":false,"packageManager":"bun@1.3.5","directories":{"lib":"dist"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/srod/node-version.git"},"bugs":{"url":"https://github.com/srod/node-version/issues"},"scripts":{"build":"tsdown","check-exports":"attw --pack . --profile esm-only","prepublishOnly":"bun run build","typecheck":"tsc --noEmit","format:check":"biome check .","lint":"biome lint .","format":"biome format . --write","changeset":"changeset","changeset:version":"changeset version && bun install --no-frozen-lockfile","changeset:release":"bun run build && changeset publish --provenance","pretest":"bun run lint","test":"vitest run","test:ci":"vitest run --coverage","test:watch":"vitest"},"devDependencies":{"@arethetypeswrong/cli":"0.18.2","@biomejs/biome":"^2.3.11","@changesets/cli":"2.29.8","@total-typescript/tsconfig":"1.0.4","@types/node":"24.10.4","@vitest/coverage-v8":"4.0.17","tsdown":"0.19.0","typescript":"5.9.3","vitest":"4.0.17"},"gitHead":"9a51817b452e01280546d436b0397e09ca56b394","_id":"node-version@4.3.0","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-HZ/T1kxY1JEDDn+uYCpdPAPQxyTlA1VIAopIxv1ohJRrVeD/AF48aCWE4JOTaKAf7NXMO/5aUtiiN/HrXXAS5w==","shasum":"186637f4306829af47588d1e72af9405c1a80f4e","tarball":"https://registry.npmjs.org/node-version/-/node-version-4.3.0.tgz","fileCount":7,"unpackedSize":20966,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-version@4.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDtISNa+0mOgPSG8/DM3TucydVCiuuN+aShtk8SIjqUdQIhAMyIrHXw+MVlvIPGxEd+XqHXgs7coUXAlcBc+NYx+YQo"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d6625313-69d3-4243-abee-13e40078e5c6"}},"maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-version_4.3.0_1768600620712_0.12932589675641237"},"_hasShrinkwrap":false}},"time":{"created":"2011-08-12T23:38:47.752Z","modified":"2026-01-16T21:57:01.165Z","0.1.0":"2011-08-12T23:38:51.496Z","1.0.0":"2015-08-29T13:45:20.391Z","1.1.0":"2017-07-27T12:41:06.955Z","1.1.2":"2018-03-21T20:06:16.435Z","1.1.3":"2018-03-21T20:16:37.197Z","1.2.0":"2018-06-22T10:00:55.957Z","2.0.0":"2019-09-20T15:27:38.084Z","3.0.0":"2023-02-16T16:43:37.062Z","4.0.0":"2025-12-26T23:32:38.456Z","4.0.2":"2025-12-28T11:34:28.587Z","4.1.0":"2026-01-03T14:21:43.540Z","4.2.0":"2026-01-06T21:11:41.354Z","4.3.0":"2026-01-16T21:57:00.851Z"},"bugs":{"url":"https://github.com/srod/node-version/issues"},"author":{"name":"Rodolphe Stoclin","email":"rodolphe@2clics.net","url":"http://2clics.net"},"license":"MIT","homepage":"https://github.com/srod/node-version","keywords":["node","version","runtime","environment","semver"],"repository":{"type":"git","url":"git+https://github.com/srod/node-version.git"},"description":"Get Node current version","maintainers":[{"name":"srod","email":"rodolphe@stoclin.fr"}],"readme":"[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![GitHub Actions][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n\n# node-version\n\nA lightweight utility to get the current Node.js version parsed into a structured object.\n\n## Features\n\n- 🚀 **Fast and Lightweight**: Barely any overhead.\n- 📦 **ESM Only**: Built for modern environments.\n- 🛠️ **TypeScript Ready**: Full type definitions included.\n- 📅 **LTS & EOL Checks**: Identify LTS releases and End-of-Life versions.\n- 🚦 **Comparison Helpers**: `is()`, `isAtLeast()`, `isAbove()`, `isBelow()`, `isAtMost()` checks.\n\n## Installation\n\n```shell\n# Using npm\nnpm install node-version\n\n# Using Yarn\nyarn add node-version\n\n# Using pnpm\npnpm add node-version\n\n# Using Bun\nbun add node-version\n```\n\n## Quick Start\n\n```js\nimport { version } from 'node-version';\n\nconsole.log(version);\n/*\n{\n    original: 'v20.10.0', // same as process.version\n    short: '20.10',\n    long: '20.10.0',\n    major: '20',\n    minor: '10',\n    build: '0',\n\n    isAtLeast: [Function],\n    isAbove: [Function],\n    isBelow: [Function],\n    isAtMost: [Function],\n    is: [Function],\n    isLTS: true, // or false\n    ltsName: 'Iron', // or undefined\n    isEOL: false // or true\n}\n*/\n```\n\n## API Reference\n\n### `version`\n\nThe pre-instantiated version object for the current process.\n\n### `getVersion()`\n\nReturns a new `NodeVersion` object representing the current process version.\n\n```ts\nimport { getVersion } from 'node-version';\nconst v = getVersion();\n```\n\n### `NodeVersion` Object\n\n| Property | Type | Description |\n| :--- | :--- | :--- |\n| `original` | `string` | The version string prefixed with 'v' (e.g., 'v20.10.0'). |\n| `short` | `string` | The major and minor version (e.g., '20.10'). |\n| `long` | `string` | The full version string (e.g., '20.10.0'). |\n| `major` | `string` | The major version number. |\n| `minor` | `string` | The minor version number. |\n| `build` | `string` | The build/patch version number. |\n| `isAtLeast(version)` | `(v: string) => boolean` | Checks if the current version is ≥ the specified version. |\n| `isAbove(version)` | `(v: string) => boolean` | Checks if the current version is > the specified version. |\n| `isBelow(version)` | `(v: string) => boolean` | Checks if the current version is < the specified version. |\n| `isAtMost(version)` | `(v: string) => boolean` | Checks if the current version is ≤ the specified version. |\n| `is(version)` | `(v: string) => boolean` | Checks if the current version is exactly the specified version. |\n| `isLTS` | `boolean` | `true` if the current version is an [LTS release](https://github.com/nodejs/release#release-schedule). |\n| `ltsName` | `string` | The LTS codename (e.g., 'Iron') or `undefined`. |\n| `isEOL` | `boolean` | `true` if the current version is past its [End-of-Life date](https://github.com/nodejs/release#end-of-life-releases). |\n\n## Compare Versions\n\n```js\nimport { version } from 'node-version';\n\nif (version.isAtLeast('20.0.0')) {\n  console.log('Running on Node.js 20 or newer');\n}\n\nif (version.is('22.0.0')) {\n  console.log('Running on exactly Node.js 22.0.0');\n}\n\nif (version.isAbove('20.0.0')) {\n  console.log('Running on Node.js strictly above 20.0.0');\n}\n\nif (version.isBelow('22.0.0')) {\n  console.log('Running on Node.js strictly below 22.0.0');\n}\n```\n\n## ESM Requirements\n\nThis package is **ESM-only** and requires **Node.js 20+**.\n\nIf you need CommonJS support, use `node-version@3`:\n\n```shell\nnpm install node-version@3\n```\n\n## Development\n\n### Scripts\n\n- `bun run build`: Build the project using `tsdown`.\n- `bun run test`: Run tests using `vitest`.\n- `bun run lint`: Run linting checks using `biome`.\n- `bun run format`: Format the code using `biome`.\n- `bun run check-exports`: Verify package exports are correct.\n\n### Publishing\n\nThis project uses [Changesets](https://github.com/changesets/changesets) for versioning and publishing.\n\n```bash\n# Prepare a new version (updates changelog and package.json)\nbun run changeset:version\n\n# Publish to NPM\nbun run changeset:release\n```\n\n## License\n\nMIT\n\n[npm-version-image]: https://img.shields.io/npm/v/node-version.svg\n[npm-downloads-image]: https://img.shields.io/npm/dm/node-version.svg\n[npm-url]: https://npmjs.org/package/node-version\n[github-actions-image]: https://github.com/srod/node-version/workflows/Release/badge.svg\n[github-actions-url]: https://github.com/srod/node-version/actions\n[codecov-image]: https://codecov.io/gh/srod/node-version/branch/main/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/srod/node-version\n","readmeFilename":"Readme.md","users":{"shakakira":true}}