OverviewFilesCommitsIssuesDocsReleasesPeers

holepunchto-kb / skills / libjs / api-extract.json

24 lines · json ref:
{
  "repo": "libjs",
  "timestamp": "2026-01-16T23:39:37.746Z",
  "entryPoint": "index.js",
  "exports": {
    "packageJson": {}
  },
  "api": {},
  "readme": {
    "content": "# libjs\n\nSimple and ABI stable C bindings to V8 built on libuv. It tightly integrates with libuv, using a dedicated V8 platform implementation for scheduling platform and isolate tasks on libuv event loops.\n\n## API\n\nSee [`include/js.h`](include/js.h) for the public API.\n\n### Exceptions\n\nJavaScript exceptions are used for all error handling. A negative return value therefore indicates that an exception is either pending in the case of `js_pending_exception`, or uncaught if the JavaScript execution stack is empty and an uncaught exception handler is installed in case of `js_uncaught_exception`. Furthermore, certain functions will immediately return an error value if an exception is already pending when the function was called.\n\nTo handle a pending exception in native code, rather than defer it to JavaScript, use the `js_get_and_clear_last_exception()` function. If the exception cannot be handled, it may be rethrown with `js_throw()`. If the JavaScript execution stack becomes empty withou",
    "sections": [
      "intro",
      "api",
      "building",
      "alternatives",
      "license"
    ],
    "hasApi": true,
    "hasExamples": false,
    "exampleCount": 0,
    "examples": []
  },
  "patterns": []
}