This package, `matroska-schema`, provides the official Matroska and EBML (Extensible Binary Meta Language) schema definitions for JavaScript environments. It serves as an MIT-licensed alternative to the previously GPL-licensed `schema.js` embedded within the `node-matroska` project, addressing licensing compatibility concerns for developers. The schema is automatically generated directly from the latest Matroska and EBML specifications maintained by the IETF-WG-CELLAR group, ensuring it remains current with the evolving standards for multimedia container formats. Currently at version 2.1.0, the package's release cadence is directly tied to updates in the upstream specifications, providing a reliable and permissively licensed data structure for libraries that parse, validate, or generate Matroska files, such as `node-matroska` or `node-ebml`.
npm install matroska-schemaVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to import the Matroska schema and access a specific element definition within it.
Ensure `matroska-schema` is installed and imported, replacing any direct references to a GPL-licensed schema file.
Periodically review the Matroska and EBML specifications and test your parsing logic against newer versions of `matroska-schema`.
For CommonJS, use `const schema = require('matroska-schema');`. For ES Modules, use `import schema from 'matroska-schema';`. If encountering issues, check your `tsconfig.json` (for TypeScript) or build tool configuration.Ensure `matroska-schema` is correctly installed (`npm install matroska-schema`) and imported as a default export: `import matroskaSchema from 'matroska-schema';` or `const matroskaSchema = require('matroska-schema');`If your project is ES Modules-based, use `import matroskaSchema from 'matroska-schema';`. If using CommonJS, ensure your Node.js version supports interop, or check if an older version of `matroska-schema` (if applicable) is strictly CommonJS.
Run `npm install matroska-schema` or `yarn add matroska-schema` in your project directory.
No dependency data recorded yet.