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

@exercism/codemirror-mode-phix

Package Overview
Dependencies
Maintainers
6
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exercism/codemirror-mode-phix

A CodeMirror mode for the Phix language

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

codemirror-mode-phix

A CodeMirror mode for the Phix language

Installation

npm install codemirror codemirror-mode-phix --save

Usage

  1. Include codemirror-mode-phix into your project.

    <!-- You can simply add phix.js as a script tag: -->
    <script src="js/codemirror.js"></script>
    <script src="js/codemirror-mode-phix/dist/phix.js"></script>
    

    or

    // If you're using frontend build tools like Webpack and Babel,
    // you can simply import the module and register the mode:
    import CodeMirror from 'codemirror'
    import registerPhixMode from 'codemirror-mode-phix'
    
  2. Set 'phix' as the mode when creating the CodeMirror editor.

    CodeMirror.fromTextArea(document.getElementById('code'), { mode: 'phix' })
    

License

MIT - See LICENSE

 

Created by Ian Walter and hastily patched from elixir to phix by Pete Lomax

 

Keywords

FAQs

Package last updated on 07 Jun 2024

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