open-index/open-npm huggingface dataset:
npm package: @pawngine/types
Description: TypeScript type definitions for Pawngine plugin development
Latest version: 0.1.0

# @pawngine/types

TypeScript type definitions for [Pawngine](https://github.com/pawngine) plugin development.

## Installation

```sh
npm install -D @pawngine/types
```

## Usage

```typescript
import type { PawnginePlugin, PluginContext, Entity } from "@pawngine/types";

export default {
  name: "@myplugin/hello",
  version: "1.0.0",
  description: "A simple hello world plugin",
  icon: "👋",

  activate(ctx: PluginContext) {
    const pet = ctx.spawn({
      id: "hello-pet",
      type: "pet",
      tags: ["character"],
    });

    ctx.renderer.attach(pet, { type: "text", content: "👋" });

    ctx.onUpdate((dt) => {
      // Update logic runs every frame
    });
  },
} satisfies PawnginePlugin;
```

## What's Included

- `PawnginePlugin` — Plugin interface
- `PluginContext` — Full plugin API (`ctx`)
- `Entity`, `Transform`, `Vec2` — ECS types
- `EngineEvents`, `EntityEvents` — Event maps
- `SettingsSchema`, `SettingField` — Plugin settings
- `ComponentTypeMap` — Extensible component registry
- Hook types: `SyncHook`, `SyncBailHook`, `SyncWaterfallHook`, `AsyncSeriesHook`
- `SystemDef`, `PipelineBuilder`, `Query` — Systems and queries

## License

MIT
npm package: @pawritharya/editorjs-break-line
Description: BreakLine Tool for Editor.js
Author: Kaung Htet Kyaw Open Source
Latest version: 0.0.1

# EditorJS BreakLine Tool

Break Line and divider Tool for [Editor.js](https://editorjs.io).

![](assets/demo.gif)

## Notes

- Adds an empty block
- Adds a divider block
- Keyboard shortcut `CMD+SHIFT+ENTER`

## Installation

### Install via NPM

Get the package

```shell
$ npm i --save-dev editorjs-break-line
```

Include module at your application

```javascript
import BreakLine from 'editorjs-break-line';
```

### Load from CDN

You can load a specific version of the package from [jsDelivr CDN](https://www.jsdelivr.com/package/npm/editorjs-break-line).

Require this script on a page with Editor.js.

```html
<script src="https://cdn.jsdelivr.net/npm/editorjs-break-line"></script>
```

## Usage

Add a new Tool to the `tools` property of the Editor.js initial config.

```javascript
const editor = EditorJS({
  tools: {
    breakLine: {
      class: BreakLine,
      inlineToolbar: true,
      shortcut: 'CMD+SHIFT+ENTER',
    },
  },
});
```

## Config Params

No config params required.

## Tool's tunes

1. Add a divider line

## Output data

| Field   | Type      | Description        |
| ------- | --------- | ------------------ |
| divider | `boolean` | Add a divider line |

**Data**

```json
{
  "type": "breakLine",
  "data": {
      "divider": true
  }
},
```

## Development

**Development mode**

```shell
$ yarn build:dev
```

**Production release**

1. Create a production bundle

```shell
$ yarn build
```

2. Commit `dist/bundle.js`

**Run tests**

```shell
$ yarn test
```

## Code of conduct

We welcome everyone to contribute. Make sure you have read the [CODE_OF_CONDUCT][coc] before.

## Contributing

For information on how to contribute, please refer to our [CONTRIBUTING][contributing] guide.

## Changelog

Features and bug fixes are listed in the [CHANGELOG][changelog] file.

## License

This library is licensed under an MIT license. See [LICENSE][license] for details.

## Acknowledgements

Made with 💙 by [kommitters Open Source](https://kommit.co)

[license]: https://github.com/kommitters/editorjs-break-line/blob/master/LICENSE
[coc]: https://github.com/kommitters/editorjs-break-line/blob/master/CODE_OF_CONDUCT.md
[changelog]: https://github.com/kommitters/editorjs-break-line/blob/master/CHANGELOG.md
[contributing]: https://github.com/kommitters/editorjs-break-line/blob/master/CONTRIBUTING.md
npm package: @pawritharya/editorjs-html-header
Description: HTML Header Tool for Editor.js
Author: Kaung Htet Kyaw
Latest version: 1.0.1

# Heading Tool

![Version of EditorJS that the plugin is compatible with](https://badgen.net/badge/Editor.js/v2.0/blue)

Provides Headings Blocks for the [Editor.js](https://ifmo.su/editor).

## Installation

Get the package

```shell
yarn add @editorjs/header
```

Include module at your application

```javascript
import Header from '@editorjs/header';
```

Optionally, you can load this tool from CDN [JsDelivr CDN](https://cdn.jsdelivr.net/npm/@editorjs/header@latest)

## Usage

Add a new Tool to the `tools` property of the Editor.js initial config.

```javascript
var editor = EditorJS({
  ...

  tools: {
    ...
    header: Header,
  },

  ...
});
```

## Shortcut

You can insert this Block by a useful shortcut. Set it up with the `tools[].shortcut` property of the Editor's initial config.

```javascript
var editor = EditorJS({
  ...

  tools: {
    ...
    header: {
      class: Header,
      shortcut: 'CMD+SHIFT+H',
    },
  },

  ...
});
```

## Config Params

All properties are optional.

| Field        | Type       | Description                 |
| ------------ | ---------- | --------------------------- |
| placeholder  | `string`   | header's placeholder string |
| levels       | `number[]` | enabled heading levels      |
| defaultLevel | `number`   | default heading level       |

```javascript
var editor = EditorJS({
  ...

  tools: {
    ...
    header: {
      class: Header,
      config: {
        placeholder: 'Enter a header',
        levels: [2, 3, 4],
        defaultLevel: 3
      }
    }
  }

  ...
});
```

## Tool's settings

![An image showing the header block tool](https://capella.pics/634ad545-08d7-4cb7-8409-f01289e0e5e1.jpg)

You can select one of six levels for heading.

## Output data

| Field | Type     | Description                                      |
| ----- | -------- | ------------------------------------------------ |
| text  | `string` | header's text                                    |
| level | `number` | level of header: 1 for H1, 2 for H2 ... 6 for H6 |

```json
{
  "type": "header",
  "data": {
    "text": "Why Telegram is the best messenger",
    "level": 2
  }
}
```
# editorjs-html-header
npm package: @pawritharya/editorjs-span-marker
Description: Span Marker Tool for Editor.js
Author: Kaung Htet Kyaw
Latest version: 1.0.11

![](https://badgen.net/badge/Editor.js/v2.0/blue)

# Marker Tool

Marker Tool for highlighting text-fragments for the [Editor.js](https://editorjs.io).

![](assets/example.gif)

## Installation

Get the package

```shell
yarn add @editorjs/marker
```

Include module at your application

```javascript
import Marker from '@editorjs/marker';
```

Optionally, you can load this tool from CDN [JsDelivr CDN](https://cdn.jsdelivr.net/npm/@editorjs/marker@latest)

## Usage

Add a new Tool to the `tools` property of the Editor.js initial config.

```javascript
var editor = EditorJS({
  ...
  
  tools: {
    ...
    Marker: {
      class: Marker,
      shortcut: 'CMD+SHIFT+M',
    }
  },
  
  ...
});
```

## Config Params

This Tool has no config params

## Output data

Marked text will be wrapped with a `mark` tag with an `cdx-marker` class.

```json
{
    "type" : "text",
    "data" : {
        "text" : "Create a directory for your module, enter it and run <mark class=\"cdx-marker\">npm init</mark> command."
    }
}
```

# editorjs-span-marker
npm package: @pawxio/ems
Description: The FIFe Easy Mind System (EMS) is a system used to identify cats by codes. The code for a specific colour, pattern or other trait is always the same, no matter the breed. The EMS system, which is not a genetically based system, is intended to be both eas
Latest version: 0.2.0-rc.4

# Easy Mind System

The FIFe Easy Mind System (EMS) is a system used to identify cats by codes.
The code for a specific colour, pattern or other trait is always the same, no matter the breed. The EMS system, which is not a genetically based system, is intended to be both easy and logical.