Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/justjavac/deno_version_info
- Owner: justjavac
- License: mit
- Created: 2020-08-21T17:45:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T06:00:06.000Z (over 2 years ago)
- Last Synced: 2024-10-10T11:18:17.921Z (4 months ago)
- Topics: deno, deno-mod, deno-module, pkg, version
- Language: TypeScript
- Homepage: https://deno.land/x/version_info
- Size: 24.4 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.