Lets you run CodeMirror in Node.
Syntax:
const codemirror = require('codemirror-node');
const code = 'alert(1);';
const lang = 'javascript';
codemirror(code, lang);
Lets you run CodeMirror in Node.
Syntax:
const codemirror = require('codemirror-node');
const code = 'alert(1);';
const lang = 'javascript';
codemirror(code, lang);
npm i codemirror-node
373
1.0.1
ISC
3.51 kB
5