# monaco-editor-nls-plugin

> Webpack plugin support difference locale by vscode-loc

Latest version **0.0.3** (published 2024-04-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install monaco-editor-nls-plugin
pnpm add monaco-editor-nls-plugin
yarn add monaco-editor-nls-plugin
bun add monaco-editor-nls-plugin
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2024-04-14 |
| First published | 2024-04-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | scofield90.email@gmail.com |
| Maintainers | pomelo_dream |
| Keywords | monaco-editor-nls-plugin, monaco-editor-nls, nls, webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/monaco-editor-nls-plugin
- Repository: https://github.com/OnlyFlyer/monaco-editor-nls-plugin
- Homepage: https://github.com/OnlyFlyer/monaco-editor-nls-plugin#readme
- Issues: https://github.com/OnlyFlyer/monaco-editor-nls-plugin/issues
- npm.io page: https://npm.io/package/monaco-editor-nls-plugin

## Recent versions

- 0.0.3 (latest) — 2024-04-14
- 0.0.2 — 2024-04-08
- 0.0.1 — 2024-04-08

## README

# monaco-editor-nls-plugin

[webpack 插件 - 支持 dt-react-monaco-editor 的中文快捷键](https://www.yuque.com/flyerwu/shdl2p/au08e7sc3umcq56b?singleDoc)

## Install

```bash
# yarn
$ yarn add monaco-editor-nls-plugin -D

# npm
$ npm install monaco-editor-nls-plugin -D

# pnpm
$ pnpm i monaco-editor-nls-plugin -D

```

## Usage

```js
const { MonacoEditorNlsPlugin } = require('monaco-editor-nls-plugin');

module.exports = function (webpackEnv) {
  return {
    module: { ... },
    entry: ...,
    output: { ... },
    plugin: [
      ...,
      new MonacoEditorNlsPlugin({ locale: 'zh-cn' }),
    ],

  };
}


```


## Options

You can pass a hash of configuration options to `monaco-editor-nls-plugin`.
Allowed values are as follows:

|           Name           |                         Type                         |                        Default                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| :----------------------: | :--------------------------------------------------: | :---------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|**`locale`**|`{String`|`zh-cn`| Format locale
|

---
_Source: https://npm.io/package/monaco-editor-nls-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
