Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/justjavac/deno_module_info

Get module info
https://github.com/justjavac/deno_module_info

deno deno-mod deno-module deno-modules deno-tools deno-utils info pkg

Last synced: 22 days ago
JSON representation

Get module info

Awesome Lists containing this project

README

        

# deno_module_info

[![tag](https://img.shields.io/github/release/justjavac/deno_module_info)](https://github.com/justjavac/deno_module_info/releases)
[![Build Status](https://github.com/justjavac/deno_module_info/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_module_info/actions)
[![license](https://img.shields.io/github/license/justjavac/deno_module_info)](https://github.com/justjavac/deno_module_info/blob/master/LICENSE)

Get module info of Deno from .

## Usage

```js
import moduleInfo, { type ModuleInfo} from 'https://deno.land/x/module_info/mod.ts';

await versionInfo('std');
```

output:

```ts
{
name: "std",
description: "A secure JavaScript and TypeScript runtime",
star_count: 66566
}
```

## Example

```bash
deno run --allow-net https://deno.land/x/module_info/examples/std.ts
```

## License

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