@ai-react-markdown/engine 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +21 -0
- package/dist/index.cjs +4138 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1863 -0
- package/dist/index.d.ts +1863 -0
- package/dist/index.dev.cjs +4150 -0
- package/dist/index.dev.cjs.map +1 -0
- package/dist/index.dev.js +4059 -0
- package/dist/index.dev.js.map +1 -0
- package/dist/index.js +4047 -0
- package/dist/index.js.map +1 -0
- package/package.json +108 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Brian Lee
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @ai-react-markdown/engine
|
|
2
|
+
|
|
3
|
+
Framework-agnostic Markdown engine for [ai-react-markdown](https://github.com/AIEPhoenix/ai-react-markdown) — incremental parsing, LaTeX preprocessing, definition/footnote machinery, and the unified plugin pipeline. Takes Markdown text in, produces a [hast](https://github.com/syntax-tree/hast) tree plus incremental-parse state out; rendering that tree is the job of a framework adapter such as [`@ai-react-markdown/core`](https://www.npmjs.com/package/@ai-react-markdown/core) (React).
|
|
4
|
+
|
|
5
|
+
> **Status: internal supplier.** This package exists to serve
|
|
6
|
+
> `@ai-react-markdown/core` and versions in lockstep with it. Its export
|
|
7
|
+
> surface tracks what core consumes and may change in any release —
|
|
8
|
+
> **no public API stability is promised before 3.0.0.** If you are
|
|
9
|
+
> rendering Markdown in React, depend on `@ai-react-markdown/core`
|
|
10
|
+
> instead; this package is interesting to you only if you are building a
|
|
11
|
+
> framework adapter of your own.
|
|
12
|
+
|
|
13
|
+
## Runtime support
|
|
14
|
+
|
|
15
|
+
Pure computation over strings and syntax trees: no DOM access, no
|
|
16
|
+
Node-only APIs, and no unguarded environment reads. Runs in browsers,
|
|
17
|
+
Node, workers, and embedded JS runtimes (e.g. Hermes/JavaScriptCore).
|
|
18
|
+
|
|
19
|
+
## License
|
|
20
|
+
|
|
21
|
+
MIT
|