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/sqlite3-polycall

v1.0.0

Published

SQLite3 command/record adapter for libpolycall config validation.

Readme

sqlite3-polycall

@obinexusltd/sqlite3-polycall is the SQLite3 adapter for libpolycall. It keeps the binding thin: the package calls the local polycall.exe config validate command and records the validation result in SQLite through the sqlite3 CLI.

The default local paths match this workspace:

  • SQLite CLI: C:\SQLite\sqlite3.exe
  • PolyCall CLI: ..\libpolycall\build\bin\polycall.exe
  • PolyCall config: ..\libpolycall\Polycallfile

Install

npm install @obinexusltd/sqlite3-polycall

Or run with npx:

npx @obinexusltd/sqlite3-polycall --help
npm exec --package . -- sqlite3-polycall --help
npx .
npx @obinexusltd/sqlite3-polycall doctor
npx @obinexusltd/sqlite3-polycall validate ..\libpolycall\Polycallfile --db sqlite3-polycall.db

During local development, before the package exists on npmjs.org, run the same binary through the local package path:

npx . --help
npx file:. doctor
npm exec --package . -- sqlite3-polycall --help
npm run test:npx-local

After publishing, these registry-backed forms are supported:

npx @obinexusltd/sqlite3-polycall --help
npm exec --package @obinexusltd/sqlite3-polycall -- sqlite3-polycall doctor

The npm package intentionally exposes a single bin command, sqlite3-polycall, so scoped-package npx inference is deterministic on Windows, macOS, and Linux.

JavaScript API

const {
  recordValidation
} = require("@obinexusltd/sqlite3-polycall");

const result = recordValidation({
  database: "sqlite3-polycall.db",
  configPath: "../libpolycall/Polycallfile"
});

console.log(result.validation.status);

SQLite schema

The adapter creates this table:

CREATE TABLE IF NOT EXISTS polycall_config_validation (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  config_path TEXT NOT NULL,
  polycall_exe TEXT NOT NULL,
  status_code INTEGER NOT NULL,
  stdout TEXT NOT NULL,
  stderr TEXT NOT NULL,
  created_at TEXT NOT NULL DEFAULT (datetime('now'))
);

Examples

node examples/run.js
C:\SQLite\sqlite3.exe example.db ".read examples/schema.sql"

See examples/README.md.

Verification

npm test
npm pack --dry-run --json

The test suite verifies:

  • npm metadata and source-directory indexing
  • C:\SQLite\sqlite3.exe
  • ..\libpolycall\build\bin\polycall.exe
  • polycall.exe config validate ..\libpolycall\Polycallfile
  • npm bin compatibility for npx / npm exec

License

MIT © Nnamdi Michael Okpala