Fetches the Node.js release index, the list of every Node.js release with its date, bundled dependencies, files, and LTS and security flags.
npm install @nodevu/fetchindex
It has no defaults, so pass the fetch to use and the URL:
const fetchindex = require('@nodevu/fetchindex'); const index = await fetchindex({ fetch: globalThis.fetch, urls: { index: 'https://nodejs.org/dist/index.json' }, });
fetchindex(options): Promise<Object[]>
Attributes
@nodevu/opt builds options with both set.