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

0.1.13 • Public • Published

@textcomplete/codemirror

Textcomplete editor for CodeMirror. (Experimental)

npm version

Check the live demo here.

Install

npm install --save @textcomplete/core @textcomplete/codemirror codemirror

Synopsis

const { Textcomplete } = require("@textcomplete/core")
const { CodeMirrorEditor } = require("@textcomplete/codemirror")

const CodeMirror = require("codemirror")

const cm = CodeMirror(myElement)
const editor = new CodeMirrorEditor(cm)
const textcomplete = new Textcomplete(editor, strategies, option)

Usage

Read the document.

License

© Yuku Takahashi - This software is licensed under the MIT license.

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @textcomplete/codemirror

    Weekly Downloads

    146

    Version

    0.1.13

    License

    MIT

    Unpacked Size

    13.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • yuku-t