You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@haxtheweb/code-editor

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@haxtheweb/code-editor

Data binding wrapped on top of a popular code editor

11.0.5
latest
Source
npmnpm
Version published
Weekly downloads
17
-37.04%
Maintainers
1
Weekly downloads
 
Created
Source

<code-editor>

Editor

Code editor element with data binding

Usage

To use this web component in your project you can utilize one of the following styles of syntax.

/* In an existing module / web component */
import '@haxtheweb/code-editor/code-editor.js';


<script type="module">
  import '@haxtheweb/code-editor/code-editor.js';

  
</script>

Develop / Demo

Running npm start will start a local development server and open your default browser to display it. It will start watching .js and lib/.js files for changes automatically for your demo.

$ npm start

Contributing

  • Fork it! git clone git@github.com/haxtheweb/webcomponents.git
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

Editor

License

Apache-2.0 License

Keywords

webcomponents

FAQs

Package last updated on 18 Jun 2025

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