open-index/open-npm huggingface dataset:
npm package: @ssimo/editorjs-monaco
Description: EditorJs wrapper for Monaco code block.
Latest version: 0.0.6

# Editor.js - Monaco

EditorJs wrapper for Monaco code block.

## Demo
![Code Block demo](output.gif)

## Installation
```bash
npm i @ssimo/editorjs-monaco
```

## Usage
```javascript
import EditorJS from '@editorjs/editorjs';
import MonacoCodeTool from '@ssimo/editorjs-monaco';

var editor = EditorJS({
  // ...
  tools: {
    // ...
    codeBlock: MonacoCodeTool,
  },
});
```

## Configuration
```typescript
var editor = EditorJS({
  // ...
  tools: {
    // ...
    codeBlock: {
      // @ts-ignore
      class: MonacoCodeTool,
      config: {
        // languages subset
        // default is all languages
        languages: [
          'plaintext',
          'javascript',
          'typescript',
          // ...
        ],
        // vs | vs-dark | hc-black
        // default is vs-dark
        theme: 'vs-dark',
        // default is true
        copybtn: false,
      },
    },
  },
});
```

## Output data
```json
{
    "type": "codeBlock",
    "data": {
        "code": "// type your code...",
        "diff": null,
        "language": "",
        "wordwrap": true,
        "minimap": false,
        "linenumbers": true,
        "stretched": false,
        "languages": null
    }
}
```
npm package: @ssischaefer/wms-server
Description: WMS server library for easily providing server infrastructure
Author: SSI Schaefer
Latest version: 1.0.3

# WMS Server
WMS Express server library for setting up a Express environment with default setups and components already initialized. Also provides a set of common functionalities fx. logging, CORS middleware, error handler middleware, and options request middleware.

Can be used to quickly setup the Express server environment.

## Middlewares in app.ts
Includes the following middlewares in the default app in this order:
* Setup of namespace
* Compression middleware
* Body parser (JSON)
* Morgan request logging
* CORS middleware
* Options request middleware