
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@duskmoon-dev/code-engine
Advanced tools
Deep fork of CodeMirror 6 + Lezer ecosystem — single package, zero dependencies
Deep fork of CodeMirror 6 + Lezer ecosystem — single package, zero dependencies.
Collapses 44 upstream repositories into one npm package with 43 tree-shakeable subpath exports.
Live Playground · API Reference
bun add @duskmoon-dev/code-engine
import { EditorState } from "@duskmoon-dev/code-engine/state";
import { EditorView } from "@duskmoon-dev/code-engine/view";
import { basicSetup } from "@duskmoon-dev/code-engine/setup";
import { javascript } from "@duskmoon-dev/code-engine/lang/javascript";
new EditorView({
state: EditorState.create({
doc: 'console.log("Hello!");',
extensions: [basicSetup, javascript()],
}),
parent: document.getElementById("editor")!,
});
| Path | Description |
|---|---|
/state | EditorState, Transaction, Text, StateField, StateEffect |
/view | EditorView, ViewPlugin, Decoration, keymap, tooltips, panels, gutters |
/language | Language, HighlightStyle, fold, indent, bracket matching |
/commands | Default keymaps, history, undo/redo |
/search | Search & replace |
/autocomplete | Autocomplete, snippets, close brackets |
/lint | Linting framework |
/collab | Collaborative editing |
/merge | Merge view |
/lsp | LSP client integration |
/language-data | Language metadata |
/parser/common | Tree, SyntaxNode, Parser interface |
/parser/lr | LR parser implementation |
/parser/highlight | Syntax highlighting tags |
/lang/* | 22 language packs: JavaScript, Python, HTML, CSS, JSON, Markdown, XML, SQL, Rust, Go, Java, C++, PHP, Sass, Less, YAML, Angular, Vue, Liquid, Wast, Jinja, Lezer |
/lang/legacy/* | Stream modes: Elixir, Ruby, Erlang, Dart, Swift, Kotlin, Lua, Shell, Dockerfile, TOML, Nginx, Nix, Haskell, and more |
/theme/one-dark | One Dark theme |
/theme/duskmoon | DuskMoonUI theme (CSS custom properties) |
/keymaps/vim | Vim keybindings |
/keymaps/emacs | Emacs keybindings |
/setup | basicSetup and minimalSetup extension arrays |
bun install # install dependencies
bun test # run tests (2900+ tests across 51 files)
bun test test/core/state.test.ts # run a single test file
bun run typecheck # type check
bun run build # full build pipeline
bun run verify # verify all export paths
MIT
FAQs
Deep fork of CodeMirror 6 + Lezer ecosystem — single package, zero dependencies
We found that @duskmoon-dev/code-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.