Drafter NPM Package

JSON →
library 2.0.0 ·javascript
verified May 27, 2026

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.

total hits 15
actors 6 distinct systems
last hit 2d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France