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

cisco-dime

v2.1.1

Published

A library to pull files from Cisco UC applications (VOS) via DIME

Readme

Cisco DIME Library & CLI

npm version CI License: MIT Node.js Version Skills Buy Me a Coffee

A library and CLI to pull log files from Cisco UC Products (VOS) via DIME.

DIME information can be found at Log Collection and DimeGetFileService API Reference.

Installation

npm install cisco-dime

Global CLI install

npm install -g cisco-dime

Or run without installing:

npx cisco-dime --help

AI Agent Skills

npx skills add sieteunoseis/cisco-dime

Requirements

Node.js 16.15+ required (uses built-in Fetch API). If using self-signed certificates, use the --insecure CLI flag or set NODE_TLS_REJECT_UNAUTHORIZED=0.

Quick Start

# 1. Add a cluster config
cisco-dime config add lab --host 10.0.0.1 --username admin --password secret --insecure

# 2. Browse available service logs
cisco-dime list-services

# 3. Select log files (results are numbered and cached)
cisco-dime select sip-traces --last 30m

# 4. Download by index
cisco-dime download 1,2,3

# Or do it all in one shot
cisco-dime select sip-traces --last 30m --download --output-dir ./logs

Configuration

cisco-dime config add <name> --host <h> --username <u> --password <p> [--insecure]
cisco-dime config use <name>       # set active cluster
cisco-dime config list             # list all clusters
cisco-dime config show             # show active cluster (masks passwords)
cisco-dime config remove <name>    # remove a cluster
cisco-dime config test             # test connectivity

Auth precedence: CLI flags > env vars (CUCM_HOST, CUCM_USERNAME, CUCM_PASSWORD) > config file.

Config stored at ~/.cisco-dime/config.json. Supports ss-cli <ss:ID:field> placeholders.

CLI Commands

| Command | Description | |---------|-------------| | list-services | Discover nodes and available service logs | | select <service\|preset> | Find log files by service or preset within a time window | | download [indices] | Download files from last select by index, range, or --all | | doctor | Check DIME connectivity and health |

Built-in presets: sip-traces, cti-traces, curri-logs, syslog, tomcat, oamp, audit

See full CLI reference for all options, presets, multi-host queries, and download flags.

Global Flags

| Flag | Description | |------|-------------| | --format table\|json\|toon\|csv | Output format (default: table) | | --cluster <name> | Use a specific named cluster | | --host <host> | Override config/env host | | --insecure | Skip TLS certificate verification | | --concurrency <n> | Parallel operations (default: 5) | | --no-audit | Disable audit logging | | --debug | Enable debug logging |

Library API

const ciscoDime = require("cisco-dime");

// List available services
const services = await ciscoDime.listNodeServiceLogs("10.10.20.1", "admin", "pass");

// Select log files
const logs = await ciscoDime.selectLogFiles("10.10.20.1", "admin", "pass",
  "Cisco CallManager", "10/04/22 11:00 AM", "10/05/22 11:05 AM");

// Download a file
const file = await ciscoDime.getOneFile("10.10.20.1", "admin", "pass",
  "/var/log/active/platform/cli/ciscotacpub.cap");

See full API documentation for all methods, streaming, multi-host queries, error handling, TypeScript, and configuration options.

Acknowledgements

This library uses code from parse-multipart -- thanks to Cristian Salazar!

Changelog

See docs/changelog.md for version history.

Giving Back

If you found this helpful, consider:

"Buy Me A Coffee"

License

MIT