OverviewFilesCommitsIssuesDocsReleasesPeers

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

26 lines · json ref:
{
  "repo": "libudx",
  "timestamp": "2026-01-16T23:39:36.513Z",
  "entryPoint": "index.js",
  "exports": {
    "packageJson": {}
  },
  "api": {},
  "readme": {
    "content": "# libudx\n\nudx is reliable, multiplexed, and congestion-controlled streams over udp.\n\n## Building\n\n<https://github.com/holepunchto/bare-make> is used for building static and dynamic libraries for use outside of Node.js.\n\n```sh\nbare-make generate\nbare-make build\n```\n\n## Debugging\n\nWhen debugging native code, make sure to configure a debug build:\n\n```sh\nbare-make generate --debug\n```\n\n### Memory errors\n\nTo diagnose and debug memory errors, such as leaks and use-after-free, the collection of sanitizers provided by LLVM are recommended. The sanitizers can be enabled by passing the `--sanitize` flag when generating the build system:\n\n```sh\nbare-make generate --debug --sanitize <address|memory|undefined|leak|thread>\n```\n\nTo read more about the various sanitizers and how to use them, see:\n\n- <https://clang.llvm.org/docs/AddressSanitizer.html>\n- <https://clang.llvm.org/docs/MemorySanitizer.html>\n- <https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html>\n- <https://clang.llvm.org/docs/LeakS",
    "sections": [
      "intro",
      "building",
      "debugging",
      "license"
    ],
    "hasApi": false,
    "hasExamples": true,
    "exampleCount": 2,
    "examples": [
      "## Debugging\n\nWhen debugging native code, make sure to configure a debug build:",
      "### Memory errors\n\nTo diagnose and debug memory errors, such as leaks and use-after-free, the collection of sanitizers provided by LLVM are recommended. The sanitizers can be enabled by passing the `--sanitize` flag when generating the build system:"
    ]
  },
  "patterns": []
}