You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

codemirror-mode-promql

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

codemirror-mode-promql

a CodeMirror mode for the PromQL language

unpublished
latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

CodeMirror-mode-promql

CircleCI GitHub license

a CodeMirror mode for the PromQL language

sample

Samples coming from https://github.com/infinityworks/prometheus-example-queries

Playground

https://nexucis.github.io/codemirror-mode-promql/

Usage

Contributions

Any contribution or suggestion would be really appreciated. Feel free to use the Issue section or to send a pull request.

Development

In case you want to contribute and change the code by yourself, an easy way to do it is to:

  • Copy all file in the folder src in the folder example/angular-promql/src
  • Modify the file main.ts and replace the line import 'codemirror-mode-promql'; by import './index.ts';
  • Run npm install and npm start in the folder example/angular-promql/src

Once you modified the code of the lib, don't forget to report the changes in the tracked corresponding file :).

Deploy to Github Page

  • npm install -g angular-cli-ghpages
  • go on examples/angular-promql
  • ng build --prod --base-href "https://nexucis.github.io/codemirror-mode-promql/"
  • ngh -d dist/angular-promql

License

MIT

Keywords

promql

FAQs

Package last updated on 05 Apr 2020

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