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

@zakasalaheddine/lincx-cli

v0.0.11

Published

Lincx platform CLI — manage networks, zones, templates, creatives, and campaigns from the command line

Readme

Lincx CLI

Lincx platform CLI — manage networks, zones, templates, creatives, and campaigns from the command line.

oclif Version Downloads/week

Deploy & run

Prerequisites

  • Node.js ≥ 18

Install

  • From npm (when published): npm install -g lincx
  • From source: clone the repo, then:
    cd lincx-cli && npm install && npm run build
    Run via node ./bin/run.js <command> or npm run dev -- <command>. Optionally npm link for a global lincx on your machine.

Configuration and secrets

The CLI does not use API keys in the environment. Auth is done via lincx auth login; the CLI stores a session at ~/.config/lincx/session.json. Do not commit this file — it contains your auth token.

Optional environment variables (for custom backends or local dev):

| Variable | Default | Purpose | | --------------- | ------------------------ | ------------------------- | | LINCX_API_URL | https://api.lincx.com | Platform API base URL | | LINCX_ID_URL | https://ix-id.lincx.la | Identity (login) base URL |

Secrets in practice:

  • Local use: Only your Lincx account email and password (entered at lincx auth login). No need to set any env for production.
  • CI / run in your repos: Use one of:
    • Option A — Non-interactive login with secrets: pass --email and --password (e.g. from GitHub Actions secrets or CI env). Session file will be created under the runner’s home directory.
    • Option B — Pre-create the session file from a secret token: write ~/.config/lincx/session.json with {"authToken":"<token>","email":"..."} (and optionally activeNetworkId / activeNetworkName). The token must be obtained outside the CLI (e.g. from your auth system or a long-lived token).

Store credentials in your platform’s secret store (e.g. GitHub Actions secrets, CI env) and never commit them.

First-time setup (local)

  1. Install the CLI (see above).
  2. Log in: lincx auth login (or lincx auth login --email [email protected] --password '...').
  3. If needed, set active network: lincx networks switch <networkId> (required for most resource commands).
  4. Run commands, e.g. lincx zones list.

Running in CI or in your repos

  1. Ensure Node ≥ 18 and the CLI is installed (from npm or from the repo).
  2. Auth: Either run lincx auth login --email "$LINCX_EMAIL" --password "$LINCX_PASSWORD" using secrets, or create ~/.config/lincx/session.json from a secret token (set HOME or the session path if the runner uses a different home).
  3. Network: If the workflow needs a specific network, run lincx networks switch <networkId> after login, or include activeNetworkId in the pre-created session file.

The table of contents and command list below are auto-generated by oclif readme.

Usage

$ npm install -g lincx
$ lincx COMMAND
running command...
$ lincx (--version)
lincx/0.0.0 darwin-arm64 node-v22.13.1
$ lincx --help [COMMAND]
USAGE
  $ lincx COMMAND
...

Commands

  • [lincx help [COMMAND]](#lincx-help-command)

lincx help [COMMAND]

Display help for lincx.

USAGE
  $ lincx help [COMMAND...] [-n]

ARGUMENTS
  [COMMAND...]  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for lincx.

See code: @oclif/plugin-help