1.1.1 • Published 4 years ago

npm-pkg-versions v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

npm-pkg-versions

Installation

toolcommand
yarnyarn add npm-pkg-versions
npmnpm install --save npm-pkg-versions

Usage

The usage of this package is very simple, as it only exports one function that you pass the packageName to. The function will return null if the specified package wasn't found, otherwise it will return an array of versions (strings).

import listPackageVersions from 'npm-pkg-versions';

async function main() {
	const versions = await listPackageVersions('npm-pkg-versions');
	console.log(versions); // => ['0.0.0', '1.0.0', ...]
}

main().catch((err) => console.error(err));

This project was developed at Sport-Thieme.

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.0

4 years ago