Socket
Socket
Sign inDemoInstall

codemirror-minimap

Package Overview
Dependencies
3
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    codemirror-minimap

codemirror minimap


Version published
Weekly downloads
15
increased by15.38%
Maintainers
1
Install size
2.26 MB
Created
Weekly downloads
 

Readme

Source

CodeMirror Minimap

Add minimap support to CodeMirror.

Screenshot

Install

npm install codemirror-minimap

How to use

import 'codemirror-minimap';
import 'codemirror-minimap/src/minimap.css';


const editor = CodeMirror.fromTextArea(document.getElementById('code'), {
  minimap: true,
  // or minimap: { scale: 6 }
});

Keywords

FAQs

Last updated on 27 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc