open-index/open-npm huggingface dataset:
npm package: @kinyoklion/three-text2d
Description: Render texture from canvas into THREE's Mesh or Sprite.
Latest version: 0.8.0



three-text2d
===

Render texture from canvas into THREE's Mesh or Sprite.

This is an updated version of:
https://github.com/gamestdio/three-text2d

It was updated to support three.js r133 and newer.
These updates were made with no regard to compatibility with previous versions.

Usage
---

**Mesh**

```javascript
import { MeshText2D, textAlign } from 'three-text2d'

var text = new MeshText2D("RIGHT", { align: textAlign.right, font: '30px Arial', fillStyle: '#000000', antialias: true })
scene.add(text)
```

**Sprite**

```javascript
import { SpriteText2D, textAlign } from 'three-text2d'

var sprite = new SpriteText2D("SPRITE", { align: textAlign.center,  font: '40px Arial', fillStyle: '#000000' , antialias: false })
scene.add(sprite)
```

License
---

MIT
npm package: @kinzie/ash-editor
Description: A wrapper around ProseMirror to be used as a WYSIWYG editor.
Author: Ash Ametrine
Latest version: 0.6.1

# AshEditor

A wrapper around [ProseMirror](https://github.com/ProseMirror/prosemirror) to be used as a WYSIWYG editor.

## Usage

```ts
import { AshEditor } from "@kinzie/ash-editor/src";
import { ToolbarPlugin } from "@kinzie/ash-editor/src/plugins";

import "@kinzie/ash-editor/src/css/style.css";
import "@kinzie/ash-editor/src/plugins/toolbar/style/menu.css";

function createEditor(element: HTMLElement, content?: HTMLElement) {
  let editor = new AshEditor(element, {
    content: content,
    plugins: [
      ToolbarPlugin.setup({
        layout: [
          ["headings"],
          ["bold", "italic", "color", "link"],
          ["undo", "redo"],
          ["image_figure"],
          [
            "horizontal_rule",
            "bullet_list",
            "ordered_list",
            "blockquote",
            "join_up",
            "lift",
            "select_parent_npde",
          ],
        ],
      }),
    ],
  });
}
```