Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/justjavac/deno_version_info

Get version info of Deno module
https://github.com/justjavac/deno_version_info

deno deno-mod deno-module pkg version

Last synced: 4 months ago
JSON representation

Get version info of Deno module

Awesome Lists containing this project

README

        

# deno_version_info

[![Build Status](https://github.com/justjavac/deno_version_info/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_version_info/actions)

Get version info of Deno from .

## Usage

```js
import versionInfo from 'https://deno.land/x/version_info/mod.ts';
import type { VersionInfo } from 'https://deno.land/x/version_info/mod.ts';

await versionInfo('std');
```

output:

```ts
{
latest: "0.66.0",
versions: [
"0.66.0", "0.65.0", "0.64.0",
"0.63.0", "0.62.0", "0.61.0",
"0.60.0", "0.59.0", "0.58.0",
"0.57.0", "0.56.0", "0.55.0",
"0.54.0", "0.53.0", "0.52.0",
"0.51.0", "0.50.0", "0.42.0",
"0.41.0", "0.40.0", "0.39.0",
"0.38.0", "0.37.0", "0.36.0",
"0.35.0", "0.34.0"
]
}
```

## Example

```bash
deno run --allow-net https://deno.land/x/version_info/example.ts
```

## License

[deno_version_info](https://github.com/justjavac/deno_version_info) is released
under the MIT License. See the bundled [LICENSE](./LICENSE) file for details.