@net-vim/core 0.1.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -1
  2. package/dist/index.js +445 -414
  3. package/package.json +28 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Net-Vim
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@net-vim/core.svg)](https://www.npmjs.com/package/@net-vim/core)
4
+
3
5
  Net-Vim is a web-based Vim-compatible editor engine and component library. It provides a terminal-like editing experience within web applications using a custom TUI engine and WebGL renderer.
4
6
 
5
7
  ## Features
@@ -27,7 +29,7 @@ The editor can be initialized into any HTML element without requiring a specific
27
29
  import { initNetVim } from '@net-vim/core';
28
30
 
29
31
  const container = document.getElementById('editor-container');
30
- const { vim, dispose } = initNetVim(container);
32
+ const { vim, dispose } = await initNetVim(container);
31
33
 
32
34
  // Access the Vim API
33
35
  vim.getAPI().registerCommand('hello', () => {