protagonist icon indicating copy to clipboard operation
protagonist copied to clipboard

Protagonist is Node.js wrapper for the API Blueprint parser

Results 4 protagonist issues
Sort by recently updated
recently updated
newest added

When you `npm install protagonist` into a project, it takes up around 100MB, over 90MB of that is built artefacts which are not needed by Protagonist at runtime, all that...

``` CXX(target) Release/obj.target/protagonist/src/parse_async.o ../src/parse_async.cc:82:21: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] resolver->Resolve(Nan::GetCurrentContext(), v8refract); ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/parse_async.cc:84:21: warning: ignoring return value of function declared with 'warn_unused_result' attribute...

When calling `parse`, be able to pass an `timeout` argument that will limit the execution time. Call back with `TimeoutError` if blueprint cannot be parsed in time.

t1: enhancement