https://github.com/hrsh7th/deno-nvim-types
The Nvim API type definition for TypeScript.
https://github.com/hrsh7th/deno-nvim-types
Last synced: 3 months ago
JSON representation
The Nvim API type definition for TypeScript.
- Host: GitHub
- URL: https://github.com/hrsh7th/deno-nvim-types
- Owner: hrsh7th
- Created: 2021-02-14T13:18:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-14T13:54:30.000Z (over 4 years ago)
- Last Synced: 2025-05-05T16:16:54.183Z (5 months ago)
- Language: TypeScript
- Size: 2.93 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nvim-types
Generated TypeScript type definition from `nvim --api-info`
# Usage
```ts
import type { Nvim } from '/path/to/this/module/mod.ts';
```# Generate
```
nvim --api-info | deno run ./bin/convert.ts > ./nvim.ts && deno lint --unstable ./nvim.ts
```