-
Notifications
You must be signed in to change notification settings - Fork 3
RedirectMap
Bhsd edited this page Apr 18, 2026
·
3 revisions
This is an internal document. For visitors, you can now go back to the home page.
// RediractMap (main)
var {RedirectMap} = require("../lib/redirectMap");
var a = new RedirectMap({a: "b"}),
b = new RedirectMap(new Map([["a", "b"]])),
c = new RedirectMap({a: "b"}, false),
d = new RedirectMap(new Map([["a", "b"]]), false);
assert.deepStrictEqual([...a], [["A", "B"]]);
assert.deepStrictEqual([...b], [["A", "B"]]);
assert.deepStrictEqual([...c], [["A", "b"]]);
assert.deepStrictEqual([...d], [["A", "b"]]);
a.set("c", "d");
assert.deepStrictEqual([...a], [["A", "B"], ["C", "D"]]);
c.set("c", "d");
assert.deepStrictEqual([...c], [["A", "b"], ["C", "d"]]);对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 VS Code 扩展
A command-line tool that performs linting on Wikitext in bulk
A lightweight Wikitext template parser
An implementation of the Language Server Protocol for Wikitext
VS Code extension for Wikitext