Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

codemirror-lang-macaulay2

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

codemirror-lang-macaulay2

Macaulay2 language support for CodeMirror

latest
Source
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

Macaulay2 Language for CodeMirror

npm version tests

This package provides Macaulay2 language support for CodeMirror.

Installation

npm install codemirror-lang-macaulay2

Usage

import { EditorState } from "@codemirror/state";
import { EditorView, basicSetup } from "codemirror";
import { macaulay2 } from "codemirror-lang-macaulay2";

new EditorView({
  state: EditorState.create({
    doc: "R = QQ[x,y,z,w]\nI = monomialCurveIdeal(R, {1,2,3})",
    extensions: [basicSetup, macaulay2()],
  }),
  parent: document.getElementById("editor"),
});

Keywords

codemirror

FAQs

Package last updated on 11 Jan 2026

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