Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    codemirror-persistpublic

    codemirror-persist

    Codemirror plugin for persisting buffers in a local storage

    Usage

    // require plugin
    var persist = require("codemirror-persist")
     
    // Install plugin
    persist(CodeMirror)
     
    var myCodeMirror = CodeMirror(document.body, {
      // ...
      persist: true // enable buffer persistence
    })

    Install

    npm install codemirror-persist
    

    Keywords

    none

    install

    npm i codemirror-persist

    Downloadsweekly downloads

    4

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar