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

@kaizenreport/kensho-appium

v0.1.1

Published

Kensho adapter for Appium — WebdriverIO reporter and generic Node hook that emit kensho-results/ for cross-platform mobile (iOS + Android) test runs.

Readme

@kaizenreport/kensho-appium

Kensho adapter for Appium — emits the canonical Kensho v1 JSON so the Kensho CLI can build a static HTML report from your iOS + Android mobile test runs.

Two integration paths cover the common Appium setups:

  1. WebdriverIO reporter — drop into wdio.conf.js and ride on top of mocha / jasmine / cucumber.
  2. Generic Node hook — call KenshoAppiumSession lifecycle methods from any framework (mocha / jest / jasmine) using the raw Appium client directly.

Both share the same kensho.step / attach / label / link helper API.

Install

pnpm add -D @kaizenreport/kensho-appium @kaizenreport/kensho

Peer deps webdriverio and @wdio/reporter are required only if you use path 1.

Path 1 — WebdriverIO reporter

// wdio.conf.js
export const config = {
  capabilities: [{
    platformName: 'iOS',
    'appium:platformVersion': '17.4',
    'appium:deviceName': 'iPhone 15',
    'appium:automationName': 'XCUITest',
    'appium:app': '/path/to/Acme.app',
  }],
  reporters: [
    'spec',
    ['@kaizenreport/kensho-appium', {
      output: 'kensho-results',
      project: { name: 'Acme Mobile', slug: 'acme-mobile' },
      severityFromTag: true,           // @blocker / @critical / @normal / @minor / @trivial
      captureCommands: true,           // emit each Appium command as a Kensho step
      screenshotOnFailure: true,
    }],
  ],
};

Run as usual:

npx wdio run wdio.conf.js
npx kensho generate
npx kensho open

Path 2 — Generic Node hook (mocha / jest / jasmine + raw appium client)

import { remote } from 'webdriverio';
import { kensho, KenshoAppiumSession } from '@kaizenreport/kensho-appium';

const capabilities = {
  platformName: 'Android',
  'appium:platformVersion': '14',
  'appium:deviceName': 'Pixel 8',
  'appium:automationName': 'UiAutomator2',
  'appium:app': '/path/to/acme.apk',
};

const session = new KenshoAppiumSession({
  project: { name: 'Acme Mobile', slug: 'acme-mobile' },
  capabilities,
});

before(async () => { session.beforeAll(); });
after(()  => { session.afterAll(); });
beforeEach(function () { session.wrapTest(this.currentTest); });
afterEach(function ()  { session.endTest(this.currentTest); });

it('logs in', async function () {
  await kensho.step('Tap username field', async () => { /* ... */ });
  await kensho.step('Type credentials',    async () => { /* ... */ });
  kensho.label('build', '4.12.3');
  kensho.link('https://acme.atlassian.net/browse/MOB-12', 'jira', 'MOB-12');
});

What gets captured

| Appium / WDIO data | Kensho field | | -------------------------------------------------------- | --------------------------- | | capabilities.platformName | case.labels.platform | | capabilities.platformVersion | case.labels.osVersion + run.env.osVersion | | capabilities.deviceName | case.labels.device + run.env.device | | capabilities.automationName | case.labels.automationName | | capabilities.app / bundleId / appPackage | case.labels.app / bundleId / appPackage | | process.env.APP_VERSION | run.env.appVersion | | Each Appium command (onAfterCommand) | one case.steps[] entry | | kensho.step(name, fn) blocks | case.steps[] (sub-steps via nesting) | | kensho.attach(path) | case.attachments[] (copied to attachments/<caseId>/) | | kensho.label(k,v) | case.labels.k | | kensho.link(url, kind, label) | case.links[] | | Screenshot on test failure (when enabled) | case.attachments[] |

Tags @blocker / @critical / @normal / @minor / @trivial map to case.severity when severityFromTag is on.

Schema mapping summary

  • framework.name = 'appium'
  • case.platform = "iOS 17.4" style
  • case.labels.device = 'iPhone 15'
  • case.labels.osVersion = '17.4'
  • case.labels.automationName = 'XCUITest'
  • run.env.appVersion = process.env.APP_VERSION (override per-run with APP_VERSION=4.12.3 npx wdio …)