# monaco-css

> CSS, LESS and SCSS plugin for the Monaco Editor

Latest version **3.9.0** (published 2021-11-04) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install monaco-css
pnpm add monaco-css
yarn add monaco-css
bun add monaco-css
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.9.0 |
| Published | 2021-11-04 |
| First published | 2016-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 42 |
| Author | Microsoft Corporation |
| Maintainers | jrieken, egamma, chrisdias, alexandrudima, aeschli, rebornix, hediet-msft |

## Links

- npm: https://www.npmjs.com/package/monaco-css
- Repository: https://github.com/Microsoft/monaco-css
- Homepage: https://github.com/Microsoft/monaco-css#readme
- Issues: https://github.com/Microsoft/monaco-css/issues
- npm.io page: https://npm.io/package/monaco-css

## Recent versions

- 3.9.0 (latest) — 2021-11-04
- 1.1.3-next.1 (next) — 2016-08-30
- 3.8.1 — 2021-09-21
- 3.7.0 — 2021-08-16
- 3.6.0 — 2021-07-15
- 3.5.0 — 2021-06-11
- 3.4.0 — 2021-05-12
- 3.3.0 — 2021-03-05
- 3.2.0 — 2021-01-28
- 3.1.1 — 2020-09-27
- 3.1.0 — 2020-09-18
- 3.0.0 — 2020-09-07
- 2.7.0 — 2020-02-10
- 2.6.0 — 2019-12-20
- 2.5.1 — 2019-09-19
- … 20 more at https://npm.io/package/monaco-css/versions

## README

# Monaco CSS

CSS language plugin for the Monaco Editor. It provides the following features when editing CSS, LESS and SCSS files:

- Code completion
- Hovers
- Validation: Syntax errors and linting
- Find definition, references & highlights for symbols in the same file
- Document Symbols
- Color Decorators

Linting an be configured through the API. See [here](https://github.com/Microsoft/monaco-css/blob/master/src/monaco.d.ts) for the API that the
CSS plugin offers to configure the CSS/LESS/SCSS language support.

Internally the CSS plugin uses the [vscode-css-languageservice](https://github.com/Microsoft/vscode-css-languageservice)
node module, providing the implementation of the functionally listed above. The same module is also used
in [Visual Studio Code](https://github.com/Microsoft/vscode) to power the CSS, LESS and SCSS editing experience.

## Issues

Please file issues concering `monaco-css` in the [`monaco-editor` repository](https://github.com/Microsoft/monaco-editor/issues).

## Installing

This npm module is bundled and distributed in the [monaco-editor](https://www.npmjs.com/package/monaco-editor) npm module.

## Development

- `npm install .`
- compile with `npm run compile`
- watch with `npm run watch`
- `npm run prepublishOnly`
- open `$/monaco-css/test/index.html` in your favorite browser.

## License

[MIT](https://github.com/Microsoft/monaco-css/blob/master/LICENSE.md)

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