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

@julesbonnard/apicore-cli

v0.3.0

Published

A modern CLI to get fresh news from apicore

Readme

apicore CLI

oclif GitHub license

Usage

$ npm install -g @julesbonnard/apicore-cli
$ apicore COMMAND
running command...
$ apicore (--version)
@julesbonnard/apicore-cli/0.3.0 darwin-arm64 node-v22.12.0
$ apicore --help [COMMAND]
USAGE
  $ apicore COMMAND
...

Commands

apicore get ID

Get document using the API

USAGE
  $ apicore get ID [--json] [--profile <value>]

ARGUMENTS
  ID  UNO or shortId of the document to retrieve

FLAGS
  --profile=<value>  Define a custom profile to save auth config

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Get document using the API

See code: src/commands/get/index.ts

apicore login

Get a token for the API

USAGE
  $ apicore login [--json] [--profile <value>] [-a <value>] [-u <value>] [-i] [--username <value>]
    [--password <value>]

FLAGS
  -a, --apiKey=<value>    Your API Key
  -i, --info              Just check if you're authenticated
  -u, --baseUrl=<value>   [default: https://afp-apicore-prod.afp.com] The API base url
      --password=<value>  Your password (not recommended, prefer interactive prompt)
      --profile=<value>   Define a custom profile to save auth config
      --username=<value>  Your username (not recommended, prefer interactive prompt)

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Get a token for the API

EXAMPLES
  $ apicore login

  $ apicore login --info

  $ apicore login --json

See code: src/commands/login/index.ts

apicore notifications services

List notifications services

USAGE
  $ apicore notifications services [--profile <value>]

FLAGS
  --profile=<value>  Define a custom profile to save auth config

DESCRIPTION
  List notifications services

See code: src/commands/notifications/services/index.ts

apicore notifications services delete [SERVICENAME]

Delete notifications service

USAGE
  $ apicore notifications services delete [SERVICENAME] [--profile <value>]

FLAGS
  --profile=<value>  Define a custom profile to save auth config

DESCRIPTION
  Delete notifications service

See code: src/commands/notifications/services/delete.ts

apicore notifications subscriptions [SERVICENAME]

List notifications subscriptions

USAGE
  $ apicore notifications subscriptions [SERVICENAME] [--profile <value>]

ARGUMENTS
  SERVICENAME  Name of the service to list subscriptions for

FLAGS
  --profile=<value>  Define a custom profile to save auth config

DESCRIPTION
  List notifications subscriptions

See code: src/commands/notifications/subscriptions/index.ts

apicore notifications subscriptions delete SERVICENAME SUBSCRIPTIONIDENTIFIER

Delete notifications subscription

USAGE
  $ apicore notifications subscriptions delete SERVICENAME SUBSCRIPTIONIDENTIFIER [--profile <value>]

ARGUMENTS
  SERVICENAME             Name of the service to delete the subscription from
  SUBSCRIPTIONIDENTIFIER  Identifier of the subscription to delete

FLAGS
  --profile=<value>  Define a custom profile to save auth config

DESCRIPTION
  Delete notifications subscription

See code: src/commands/notifications/subscriptions/delete.ts

apicore search [QUERY]

Search documents using the API

USAGE
  $ apicore search [QUERY] [--json] [--profile <value>] [-f <value>...] [--from <value>] [-l <value>...] [-p
    <value>...] [--size <value>] [--sortField <value>] [--sortOrder asc|desc] [--table] [--to <value>] [--columns
    <value> | --extended] [--output csv|json |  | --csv]

ARGUMENTS
  QUERY  Search query

FLAGS
  -f, --fields=<value>...    [default: afpshortid,uno,revision,country,product,created,published,lang,headline,slug]
                             Fields to return
  -l, --langs=<value>...     Langs separated by commas, like fr,es
  -p, --products=<value>...  Products separated by commas, like news,photo
      --columns=<value>      only show provided columns (comma-separated)
  --csv
  --extended
      --from=<value>         [default: 1980-01-01] From date
      --output=<option>      output in a more machine friendly format
                             <options: csv|json>
      --profile=<value>      Define a custom profile to save auth config
      --size=<value>         [default: 10] Max number of documents to return
      --sortField=<value>    [default: published] Sort field
      --sortOrder=<option>   [default: desc] Sort order
                             <options: asc|desc>
      --table                Print the results as a table
      --to=<value>           [default: now] To date

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Search documents using the API

EXAMPLES
  $ apicore search

  $ apicore search "france" -l fr,es

  $ apicore search --json

See code: src/commands/search/index.ts