@scalar/use-codemirror
TypeScript icon, indicating that this package has built-in type declarations

0.10.5 • Public • Published

Scalar useCodeMirror()

Version Downloads License Discord

Installation

npm install @scalar/use-codemirror

Usage

<script setup>
import { CodeMirror } from '@scalar/use-codemirror'
</script>

<CodeMirror
  class="my-custom-class"
  content="const foobar = true"
  readOnly
  @change="(value) =>" />

Package Sidebar

Install

npm i @scalar/use-codemirror

Weekly Downloads

16,180

Version

0.10.5

License

MIT

Unpacked Size

893 kB

Total Files

22

Last publish

Collaborators

  • amritkahlon
  • scalar_geoff
  • mason-little
  • hwkr
  • tommastro
  • cameronrohani
  • hanspagel
  • marclave