@crossbind/port-expat-standalone-napi 0.0.0-stage → 2.0.0-beta.63

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 ADDED
@@ -0,0 +1,182 @@
1
+ @crossbind/port-expat-standalone-napi ships the JavaScript bindings, types and data of the components below; the addons that link them are in its platform packages.
2
+ The full license text of every component follows.
3
+
4
+ Effective license expression (also package.json "license"):
5
+
6
+ (MIT OR NCSA) AND MIT
7
+
8
+ The machine-readable component inventory is sbom.cdx.json next to this file.
9
+
10
+ GENERATED by `crossbind licenses --package` - do not edit. This file states facts and is not legal
11
+ advice; the compliance assessment is yours.
12
+
13
+ ----------------------------------------------------------------------
14
+
15
+ ## crossbind — MIT
16
+
17
+ - package: crossbind@2.0.0-beta.63
18
+ - source: https://github.com/crossbind/crossbind
19
+ - note: the embind-jsi and embind-napi runtime and the bindings crossbind generates
20
+
21
+ ```
22
+ MIT License
23
+
24
+ Copyright (c) 2026 Buğra Sarı and crossbind contributors
25
+
26
+ Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ of this software and associated documentation files (the "Software"), to deal
28
+ in the Software without restriction, including without limitation the rights
29
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ copies of the Software, and to permit persons to whom the Software is
31
+ furnished to do so, subject to the following conditions:
32
+
33
+ The above copyright notice and this permission notice shall be included in all
34
+ copies or substantial portions of the Software.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
+ SOFTWARE.
43
+ ```
44
+
45
+ ## emscripten-embind — MIT OR NCSA
46
+
47
+ - package: @crossbind/core-embind-jsi@2.0.0-beta.63
48
+ - source: https://github.com/emscripten-core/emscripten
49
+ - no license election recorded; the declared expression applies and all texts are included
50
+ - note: Emscripten's embind, adapted by @crossbind/core-embind-jsi
51
+
52
+ ```
53
+ MIT License
54
+
55
+ Copyright (c) 2026 Buğra Sarı and crossbind contributors
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining a copy
58
+ of this software and associated documentation files (the "Software"), to deal
59
+ in the Software without restriction, including without limitation the rights
60
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
61
+ copies of the Software, and to permit persons to whom the Software is
62
+ furnished to do so, subject to the following conditions:
63
+
64
+ The above copyright notice and this permission notice shall be included in all
65
+ copies or substantial portions of the Software.
66
+
67
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
68
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
69
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
70
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
73
+ SOFTWARE.
74
+
75
+ ==============================================================================
76
+
77
+ The embind sources in cpp/src/emscripten and js/embind.js are adapted from
78
+ Emscripten (https://github.com/emscripten-core/emscripten), whose license
79
+ follows. The notes on Node.js, musl and third_party/ that end the original file
80
+ concern parts of Emscripten this package does not include.
81
+
82
+ Emscripten is available under 2 licenses, the MIT license and the
83
+ University of Illinois/NCSA Open Source License.
84
+
85
+ Both are permissive open source licenses, with little if any
86
+ practical difference between them.
87
+
88
+ The reason for offering both is that (1) the MIT license is
89
+ well-known, while (2) the University of Illinois/NCSA Open Source
90
+ License allows Emscripten's code to be integrated upstream into
91
+ LLVM, which uses that license, should the opportunity arise.
92
+
93
+ The full text of both licenses follows.
94
+
95
+ ==============================================================================
96
+
97
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
98
+
99
+ Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ of this software and associated documentation files (the "Software"), to deal
101
+ in the Software without restriction, including without limitation the rights
102
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ copies of the Software, and to permit persons to whom the Software is
104
+ furnished to do so, subject to the following conditions:
105
+
106
+ The above copyright notice and this permission notice shall be included in
107
+ all copies or substantial portions of the Software.
108
+
109
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
115
+ THE SOFTWARE.
116
+
117
+ ==============================================================================
118
+
119
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
120
+ All rights reserved.
121
+
122
+ Permission is hereby granted, free of charge, to any person obtaining a
123
+ copy of this software and associated documentation files (the
124
+ "Software"), to deal with the Software without restriction, including
125
+ without limitation the rights to use, copy, modify, merge, publish,
126
+ distribute, sublicense, and/or sell copies of the Software, and to
127
+ permit persons to whom the Software is furnished to do so, subject to
128
+ the following conditions:
129
+
130
+ Redistributions of source code must retain the above copyright
131
+ notice, this list of conditions and the following disclaimers.
132
+
133
+ Redistributions in binary form must reproduce the above
134
+ copyright notice, this list of conditions and the following disclaimers
135
+ in the documentation and/or other materials provided with the
136
+ distribution.
137
+
138
+ Neither the names of Mozilla,
139
+ nor the names of its contributors may be used to endorse
140
+ or promote products derived from this Software without specific prior
141
+ written permission.
142
+
143
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
144
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
145
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
146
+ IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
147
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
148
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
149
+ SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
150
+ ```
151
+
152
+ ## expat — MIT
153
+
154
+ - package: @crossbind/port-expat-darwin@2.0.0-beta.63
155
+ - native version: 2.9.0
156
+ - source: https://github.com/libexpat/libexpat/releases/download/R_2_9_0/expat-2.9.0.tar.gz (sha256: 16afbb9cefead2aa278105cf27d9f597bde7fbf3dbb85015857ca7ca6a4e89ba)
157
+
158
+ ```
159
+ === LICENSE ===
160
+
161
+ Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
162
+ Copyright (c) 2001-2022 Expat maintainers
163
+
164
+ Permission is hereby granted, free of charge, to any person obtaining
165
+ a copy of this software and associated documentation files (the
166
+ "Software"), to deal in the Software without restriction, including
167
+ without limitation the rights to use, copy, modify, merge, publish,
168
+ distribute, sublicense, and/or sell copies of the Software, and to
169
+ permit persons to whom the Software is furnished to do so, subject to
170
+ the following conditions:
171
+
172
+ The above copyright notice and this permission notice shall be included
173
+ in all copies or substantial portions of the Software.
174
+
175
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
176
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
177
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
178
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
179
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
180
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
181
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
182
+ ```
package/README.md CHANGED
@@ -1,3 +1,19 @@
1
- # Temporary Holding Version
1
+ # @crossbind/port-expat-standalone-napi
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ expat for Node.js with nothing to build: prebuilt Node-API addons for macOS, Linux (glibc and musl) and Windows, on arm64 and x64. npm installs only the addon for your machine.
4
+
5
+ ```bash
6
+ npm install @crossbind/port-expat-standalone-napi@beta
7
+ ```
8
+
9
+ The package root exports every function, class and constant of the public headers, ready once `initNative()` resolves:
10
+
11
+ ```js
12
+ import * as expat from '@crossbind/port-expat-standalone-napi';
13
+
14
+ await expat.initNative();
15
+ ```
16
+
17
+ Headers: `expat.h`.
18
+
19
+ Built with [crossbind](https://crossbind.dev) from [@crossbind/port-expat](https://www.npmjs.com/package/@crossbind/port-expat).