The `fork-raml-1-parser` package is a JavaScript parser for RAML 0.8 and 1.0 API specifications. It reached its end-of-life and is officially deprecated as of its latest stable version, 1.1.68. Development on this package has ceased, with the recommendation to migrate to `@raml-org/webapi-parser` for ongoing support, security updates, and new features. While it ships with TypeScript types, providing better integration in typed environments, its primary quickstart examples and usage patterns often leverage CommonJS `require` syntax. Its release cadence was irregular towards its deprecation, primarily focusing on critical dependency and security fixes rather than new RAML specification features. A key differentiator was its ability to directly interpret RAML specification structures and produce a high-level Abstract Syntax Tree (AST), unlike generic YAML/JSON parsers.
npm install fork-raml-1-parserVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to synchronously load and parse a local RAML 1.0 file using the `raml-1-parser` library.
Migrate your parsing logic to use `@raml-org/webapi-parser`. This will involve significant code changes as the API surface is different.
Upgrade your Node.js runtime to version 6 or higher. The parser officially supports Node.js 6, 8, 11, and later versions since 1.1.51.
Ensure you are using `raml-1-parser` version 1.1.59 or newer. Alternatively, migrate to the officially supported `@raml-org/webapi-parser`.
Do not install or use `raml-1-parser@1.1.54`. Pin your dependency to a working version like 1.1.53 or 1.1.55+.
Ensure the package is installed using `npm install raml-1-parser` or `yarn add raml-1-parser`. For new projects, consider installing and using `@raml-org/webapi-parser` instead.
Verify your import statement: `const raml = require('raml-1-parser');` for CommonJS or `import * as raml from 'raml-1-parser';` for ESM/TypeScript. Ensure you are using a consistent and reasonably recent version (e.g., >=1.1.50 if not migrating).Upgrade your Node.js runtime to version 6 or higher. `raml-1-parser@1.1.51` and later explicitly require Node.js >=6.
No dependency data recorded yet.