# node-latest

> Determine the lastest Node or npm version.

Latest version **4.0.1** (published 2020-09-15) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install node-latest
pnpm add node-latest
yarn add node-latest
bun add node-latest
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.1 |
| Published | 2020-09-15 |
| First published | 2016-05-06 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Mark Tiedemann |
| Maintainers | marktiedemann |
| Keywords | node, npm, version, latest, lts, next |

## Links

- npm: https://www.npmjs.com/package/node-latest
- Repository: https://github.com/MarkTiedemann/node-latest
- Issues: https://github.com/MarkTiedemann/node-latest/issues
- npm.io page: https://npm.io/package/node-latest

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 4.0.1 (latest) — 2020-09-15
- 4.0.0 — 2020-09-11
- 3.1.0 — 2016-06-13
- 3.0.0 — 2016-06-13
- 2.0.0 — 2016-06-08
- 1.0.0 — 2016-05-06

## README

# node-latest

**Determine the lastest Node or npm version.**

## Installation

`npm i -S node-latest`

## Example Usage

```javascript
const { node, npm } = require("node-latest");

async function example() {
  console.log("node.current:", node.current);
  console.log("node.latest: ", await node.latest());
  console.log("node.lts:    ", await node.lts());
  console.log("npm.current: ", await npm.current());
  console.log("npm.latest:  ", await npm.latest());
  console.log("npm.next:    ", await npm.next());
  console.log("npm.lts:     ", await npm.lts());
}

example();

/*
node.current: 14.5.0
node.latest:  14.10.1
node.lts:     12.18.3
npm.current:  6.14.5
npm.latest:   6.14.8
npm.next:     6.14.8
npm.lts:      6.14.8
*/
```

## License

[WTFPL](http://www.wtfpl.net/) – Do What the F*ck You Want to Public License.

---
_Source: https://npm.io/package/node-latest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
