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

@intflow/labelfactory

v0.1.12

Published

Terminal interface for LabelFactory

Readme

@intflow/labelfactory

LabelFactory terminal interface for people and AI agents. Requires Node.js 22+.

npm install -g @intflow/labelfactory
# Exact-version installation alias: npm install -g labelfactory
labelfactory login --no-browser
labelfactory whoami --json
labelfactory guide start

Approve the displayed company-login URL/code in your own browser while the terminal waits. The default API is https://labelfactory.intflow.dev. Existing application permissions apply; requests and jobs retain your individual identity.

Automatic updates

Launchers from 0.1.10 check npm's scoped latest channel when a command starts, at most once per 15 minutes after a successful check. Verified updates run from your user cache; global installation and login settings remain intact. Failed checks can retry on a later command after one minute. Offline or failed updates retain the last verified runtime. next prereleases are excluded.

Help/version/guide work offline. An active command, stream or adapter process continues using its starting runtime. Set LABELFACTORY_AUTO_UPDATE=0 to use the installed version; CI also disables updates. Earlier launchers need the npm installation above once. The update source is npm, independent of the server's API catalog or package version.

Find data and choose an operation

labelfactory guide find --json
labelfactory projects list --json
labelfactory image-sets list --query limit=10 --json
labelfactory jobs queue --query mine=true --json
labelfactory collections create --help --json

Guides and command help provide actual API paths, required fields and examples. Replace example IDs with discovery results and supply UTF-8 JSON through --input request.json or --input -. Choose only the intended action; mutations execute immediately and are never resubmitted automatically. Follow returned IDs, next commands, web_url and trace_id. Visual quality still requires inspecting the images and labels.

Metadata discovery does not scan NAS. Use bounded filters and pagination; lists may be capped. storage scan, collection/extraction, image download, inference and training access resources or create work. Check the relevant guide/preflight and server feature flags before requesting them.

Selected-image QC

labelfactory guide qc --json
labelfactory qc-review connection --json
labelfactory autolabel review-tasks ALS_ID --query status=pending --json
labelfactory qc-selections create ALS_ID --input selection.json --json
labelfactory qc-selections show ALS_ID SELECTION_ID --json
labelfactory qc-selections preview ALS_ID SELECTION_ID --input version.json --json
labelfactory qc-selections submit ALS_ID SELECTION_ID --input version.json --json

selection.json contains a fresh 32-character hexadecimal selection_id, name, explicit task_ids, and optional instructions. A draft save sends no images. Only the selected IDs enter QC after an explicit submit; pending status alone never selects an image. version.json contains the current expected_version from show. Class order/rules are fixed per group; submitted groups are immutable. Use show for image-transfer, QC-review and source-application acknowledgement, and tasks to inspect its images. A QC group is observed directly, without a separate inspection job. After an interrupted response, inspect it before retrying.

Existing workflows

| Purpose | Offline guide / commands | | --- | --- | | Registered data and datasets | guide find, guide data, datasets | | Label sessions and review | guide label, autolabel, review-tasks | | Model comparison | guide performance, performance | | Training and local result import | guide train, guide transfer, runs | | Optional VLM operations | guide vlm; server enablement/budget rules apply | | Work observation | guide jobs, jobs progress/wait/events, activity list |

Jobs return immediately unless --wait is requested. A wait timeout ends local observation and leaves server work intact. Training material downloads and result uploads resume with the same inputs and idempotency key; use guide transfer. JSON output is one record except event streams (NDJSON). Diagnostics go to stderr. Exit codes: 0 success, 1 API/auth/local/job failure, 2 invalid arguments.

Sessions and origins

Sessions start at 30 days; use keeps the later of current expiry and last use plus seven days. Expired sessions require login. logout revokes only this terminal; if unreachable, it keeps the local credential so revocation can be retried.

Credentials are stored per API origin under ~/.config/labelfactory, overridden by LABELFACTORY_CONFIG_DIR. Unix directories/files use 0700/0600; Windows uses a current-user DACL. Preserve this directory and never share or commit its bearer values. Use --url or LABELFACTORY_URL for another HTTPS origin; loopback HTTP is allowed for local tests. Redirects are not followed.

For support, provide version, command, error code, trace/job/group IDs and the reported web URL. Keep tokens and profile files private.