open-index/open-npm huggingface dataset:
npm package: @nola/core
Description: > `nova`, an editor for document.
Latest version: 1.1.0

# @nola/nova

> `nova`, an editor for document.

## how to use ?

### 1. install `nova` as a dependency

```sh
yarn add nova
```

### 2. import `nova` in esmodule

```js
import nova from '@nola/nova';
```

### 3. init `nova` in vue3

```js
App.use(nova, { store, fast, util });
```

1. `store`: [vuex](https://www.npmjs.com/package/vuex)
2. `fast`: [vuex-fast](https://www.npmjs.com/package/vuex-fast)
3. `util`: [vue-scaff](https://vue-scaff.com/)
npm package: @nola/dana
Description: > We use `action` to Manage all of Operations\ > 我们决定使用 `action` 的方式进行业务操作管理
Latest version: 1.0.5

# Writter APIs -- 文档编辑器接口

> We use `action` to Manage all of Operations\
> 我们决定使用 `action` 的方式进行业务操作管理

> Default Namespcace is `nolaWritter`, registried by `vue-scaff`\
> 默认命名空间为 `nolaWritter`，于 `vue-scaff` 中注册

> The Command is `$store.dispatch('nolaWritter/{action}', {param})`\
> 执行命令为 `$store.dispatch('nolaWritter/{指令}', {参数})`

## save

```js
// Command
$store.dispatch('nolaWritter/save');

// Response
return { success };
```

## load

```js
// Command
$store.dispatch('nolaWritter/load', id);

// Response
return { context, setting };
```

## 111

## update

```js
// Command
$store.dispatch('nolaWritter/update', { index, material });

// Response
return { context };
```

## Add

```js
// Command
$store.dispatch('nolaWritter/add', { index, material });

// Response
return { context };
```

## Del

```js
// Command
$store.dispatch('nolaWritter/del', { index });

// Response
return { context };
```
npm package: @nola/editor-ext-demo
Description: demo Tool for Editor.js
Latest version: 1.0.2

# demo Tool for Editor.js

## Installation

Use your package manager to install the package `@nola/editor-ext-demo`.

```
npm install @nola/editor-ext-demo

yarn add @nola/editor-ext-demo
```

## Development

This tool uses [Vite](https://vitejs.dev/) as builder.

`npm run dev` — run development environment with hot reload

`npm run build` — build the tool for production to the `dist` folder

## Links

[Editor.js](https://editorjs.io) • [Create Tool](https://github.com/editor-js/create-tool)