Fix StartOS 0.4 TypeScript packaging to match SDK API

This commit is contained in:
MacPro
2026-04-09 15:10:44 -05:00
parent d5046a0daf
commit 0b70cbb2bf
3436 changed files with 867051 additions and 92 deletions
+29
View File
@@ -0,0 +1,29 @@
/**
* fast-xml-tagger - XML/JSON path matching library
*
* Provides efficient path tracking and pattern matching for XML/JSON parsers.
*
* @example
* import { Expression, Matcher } from 'fast-xml-tagger';
*
* // Create expression (parse once)
* const expr = new Expression("root.users.user[id]");
*
* // Create matcher (track path)
* const matcher = new Matcher();
* matcher.push("root", [], {}, 0);
* matcher.push("users", [], {}, 0);
* matcher.push("user", ["id", "type"], { id: "123", type: "admin" }, 0);
*
* // Match
* if (matcher.matches(expr)) {
* console.log("Match found!");
* }
*/
import Expression from './Expression.js';
import Matcher from './Matcher.js';
import ExpressionSet from './ExpressionSet.js';
export { Expression, Matcher, ExpressionSet };
export default { Expression, Matcher, ExpressionSet };