npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@obinexusltd/rust-polycall

v1.0.0

Published

Rust source binding for libpolycall 1.5

Readme

@obinexusltd/rust-polycall

Thin, safe Rust source binding for libpolycall 1.5. The crate translates Rust strings and results at the FFI boundary; configuration parsing, networking, and runtime behavior remain in the shared C core.

The npm package distributes the complete Cargo source tree and exposes every project directory through a location-independent CommonJS index.

Install

From npm:

npm install @obinexusltd/rust-polycall

As a Rust path dependency:

[dependencies]
rust-polycall = { path = "node_modules/@obinexusltd/rust-polycall" }

Link libpolycall

Set the directory containing polycall.lib, libpolycall.a, or the shared library import file before building a final executable:

$env:POLYCALL_LIB_DIR = 'C:\path\to\libpolycall\lib'
$env:POLYCALL_LIB_NAME = 'polycall'     # optional; this is the default
$env:POLYCALL_LINK_KIND = 'dylib'       # optional: dylib or static
cargo run --example demo -- rust-polycallrc

The crate does not compile or duplicate the C runtime. Unit tests install small ABI mocks, so cargo test --lib needs no local libpolycall build.

Rust API

let version = rust_polycall::version()?;
let summary = rust_polycall::describe(Some("rust-polycallrc"))?;
rust_polycall::run_config(Some("rust-polycallrc"), true)?;

Core status codes are preserved in PolycallError::code. Paths containing an interior NUL are rejected before crossing the C boundary.

npm source index

const rustPolycall = require('@obinexusltd/rust-polycall');

console.log(rustPolycall.directories.src.relativeFiles);
console.log(rustPolycall.resolve('examples', 'demo.rs'));

src, dist, examples, and tests are recursively indexed with both absolute paths and package-relative filenames. Resolution rejects traversal outside those roots.

Verification

npm test
npm pack --dry-run

The mandatory prepack suite runs Rust unit tests, checks the example, validates npm metadata/directories, and enforces the thin-adapter source boundary.

Author: Nnamdi Michael Okpala [email protected]

License: MIT