Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coffeekraken/codemirror-webcomponent

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coffeekraken/codemirror-webcomponent

Webcomponent wrapper for the codemirror editor library.

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Coffeekraken codemirror webcomponent

npm npm npm

Webcomponent wrapper for the codemirror editor library.

Table of content

  1. Install
  2. Get Started
  3. Javascript API
  4. Coffeekraken

Install

npm install @coffeekraken/codemirror-webcomponent --save

## Get Started

First, import the component into your javascript file like so:

import CoremirrorWebcomponent from '@coffeekraken/codemirror/webcomponent'

Then simply use it inside your html like so:

<ck-codemirror language="html">
	<h1>Hello World</h1>
	<p>Proin efficitur, lectus nec pulvinar bibendum, magna metus consequat elit.</p>
</ck-codemirror>

You can wrap your content inside a <template></template> tag in order to avoid unnecessary computation.

Coffeekraken

We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...

Coffeekraken

Keywords

FAQs

Package last updated on 26 Dec 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc