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

@ifc-lite/server-bin

v1.16.0

Published

Pre-built IFC-Lite server binary - run without Docker or Rust

Readme

@ifc-lite/server-bin

Pre-built native binary for the IFClite server. No Docker, no Rust toolchain — just npx @ifc-lite/server-bin. Auto-downloads the right binary for your platform on first run.

Quick Start

# Run the server (downloads binary on first run, ~20 MB)
npx @ifc-lite/server-bin

# Or install once, run anywhere
npm install -g @ifc-lite/server-bin
ifc-lite-server

The server starts on http://localhost:8080 by default. Point @ifc-lite/server-client at it and you've got a parsing backend with caching, streaming, and parallel processing.

CLI

npx @ifc-lite/server-bin                # start server on PORT (default 8080)
PORT=3001 npx @ifc-lite/server-bin       # custom port
npx @ifc-lite/server-bin download        # pre-fetch the binary (CI / pre-deploy)
npx @ifc-lite/server-bin info            # show platform target + cache state
npx @ifc-lite/server-bin help            # full help

Configuration

PORT=8080 \
RUST_LOG=info \
MAX_FILE_SIZE_MB=500 \
WORKER_THREADS=8 \
CACHE_DIR=./.cache \
REQUEST_TIMEOUT_SECS=300 \
INITIAL_BATCH_SIZE=100 \
MAX_BATCH_SIZE=1000 \
CACHE_MAX_AGE_DAYS=7 \
npx @ifc-lite/server-bin

| Variable | Default | Description | |----------|---------|-------------| | PORT | 8080 | Server port | | RUST_LOG | info | Log level — error / warn / info / debug | | MAX_FILE_SIZE_MB | 500 | Max upload size | | WORKER_THREADS | CPU cores | Parallel parse threads | | CACHE_DIR | ./.cache | Where to persist parsed-file cache | | REQUEST_TIMEOUT_SECS | 300 | Per-request timeout | | INITIAL_BATCH_SIZE | 100 | First streaming batch size (snappy first paint) | | MAX_BATCH_SIZE | 1000 | Steady-state streaming batch size (throughput) | | CACHE_MAX_AGE_DAYS | 7 | Cache retention before eviction |

Programmatic usage

For embedding the server in a Node.js process or CI script:

import { runBinary, ensureBinary, getBinaryInfo } from '@ifc-lite/server-bin';

// Make sure the binary is on disk (downloads if missing)
const path = await ensureBinary();
console.log(`Binary at ${path}`);

// Inspect the target
const info = getBinaryInfo();
console.log(`Platform: ${info.platform.targetTriple}, cached: ${info.isCached}`);

// Run the server with custom args; resolves with the exit code
const exitCode = await runBinary(['--config', './ifc-lite.toml']);

Supported platforms

| Platform | Architecture | |----------|--------------| | macOS | x64 (Intel) ✅   arm64 (Apple Silicon) ✅ | | Linux | x64 glibc ✅   arm64 glibc ✅   x64 musl (Alpine) ✅ | | Windows | x64 ✅ |

Skip auto-download

Useful for hermetic CI builds:

IFC_LITE_SKIP_DOWNLOAD=1 npm install @ifc-lite/server-bin
# Later, fetch on demand:
npx @ifc-lite/server-bin download

Falling back

If pre-built binaries don't fit (unsupported platform, locked-down corp environment, custom config), fall back to:

# Docker-based server
npx create-ifc-lite my-server --template server
cd my-server && docker compose up -d

# Build from source
git clone https://github.com/LTplus-AG/ifc-lite
cd ifc-lite/apps/server
cargo build --release

API

| Function | Description | |---|---| | runBinary(args?) | Run the server with optional args — resolves with exit code | | ensureBinary(onProgress?) | Download if missing — resolves with binary path | | downloadBinary(onProgress?) | Force re-download — resolves with binary path | | getBinaryInfo() | Returns { platform, version, isCached, cachePath } | | isBinaryCached() | Boolean — is the binary on disk? |

License

MPL-2.0