Assertions for Native Add-ons
C utilities for Node-API call assertions.
This package exposes an absolute file path for the directory containing header files for various C assertion APIs.
Usage
var headerDir = require( '@stdlib/assert/napi' );
headerDir
Absolute file path for the directory containing header files for C APIs.
var dir = headerDir;
// returns <string>
Examples
var headerDir = require( '@stdlib/assert/napi' );
console.log( headerDir );
// => <string>
C APIs
This package exposes various C utilities for Node-API call assertions. The included C APIs are the APIs implemented in the following packages:
For API documentation, consult the individual packages.
Usage
#include "stdlib/assert/napi.h"
Examples
#include "stdlib/assert/napi.h"