Drafter NPM Package
JSON →Drafter is a Node.js wrapper around the API Blueprint parser. It provides both synchronous and asynchronous parsing capabilities for API Blueprint documents, converting them into a machine-readable Abstract Syntax Tree (AST). The package prioritizes the faster C++ binding, Protagonist, but includes a pure JavaScript fallback, drafter.js, if the C++ binding fails to install or load. The current stable version is 2.0.0. The project maintains an active development status with updates typically driven by upstream changes in the core Drafter C++ parser and its JavaScript counterparts, which influences its release cadence. Its key differentiator is its robust handling of API Blueprint parsing, providing a consistent API across potentially different underlying parser implementations.
Traffic · last 30 days ↑500% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France