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

@ikawaari/ikw

v0.7.0

Published

Official Ikawaari command-line interface.

Readme

ikw (Ikawaari CLI)

ikw est le CLI Node.js d’Ikawaari.

  • Exécutable: ikw
  • Source: apps/ikw
  • Build output: apps/ikw/dist

Objectifs

  • Fournir une interface CLI pour interagir avec l’API Ikawaari (merchant/ops)
  • Servir de base pour unifier les commandes avec le Workbench du dashboard via apps/cli-sdk

Installation & Build

Depuis apps/ikw:

npm install
npm run build

Lancer:

npm run start
# ou
node dist/index.js

Une fois publie, l'installation publique ciblee est:

npm install -g @ikawaari/ikw

ou sans installation globale:

npx @ikawaari/ikw login

Packaging binaire

npm run package:bin

Commandes

Le CLI expose des commandes organisées par module (ex: payments, products, webhooks, ...).

Exemples:

ikw payments list --limit 10
ikw payments inspect <id>
ikw webhooks list

Auth / config

Le CLI stocke sa configuration (environnements, tokens, baseUrl) localement via env-paths.

Connexion recommandee:

ikw login
# alias compatible
ikw auth login

Le login utilise un device flow: le CLI affiche un code, ouvre le dashboard Ikawaari, puis attend l'approbation dans le navigateur. Aucune session web n'est lue directement par le CLI.

Par defaut, sandbox pointe vers https://sandbox-api.ikawaari.com et live vers https://api.ikawaari.com. En developpement local:

ikw config set base-url https://localhost:44302

Options utiles:

ikw login --no-browser
ikw login --environment live
ikw login --timeout 900

Le stockage manuel reste disponible pour les usages techniques:

ikw auth login:manual --api-key ik_test_...

Notes:

  • Plusieurs modes d’auth existent (ex: API key, merchant JWT, ops token) selon les endpoints.
  • Les détails (fichiers/format exact) sont gérés dans src/core/config-store.ts.

Intégration avec cli-sdk

Le repo contient apps/cli-sdk qui définit:

  • CommandDefinition[] (source de vérité)
  • CommandRegistry / CommandParser
  • Exécuteurs Node/Browser

Côté CLI, un adapter Commander (WIP) permet de générer automatiquement les subcommands à partir de la registry:

  • src/adapters/commander-adapter.ts

Windows / PowerShell

Si npm échoue avec une erreur du type npm.ps1 ... execution of scripts is disabled, tu as 2 options:

  • Ajuster la policy PowerShell (recommandé pour un poste dev)
  • Ou exécuter npm via cmd.exe / Git Bash

Développement

  • Entrée principale: src/index.ts
  • Client HTTP: src/core/api-client.ts (fetch, retries, headers, auth)
  • Output helpers: src/core/output.ts (table/json/human)