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-serviceability

v1.0.2

Published

A library to interact with Cisco Control Center Services API via SOAP

Readme

cisco-serviceability

A JavaScript library to interact with the Cisco Control Center Services API via SOAP. Supports both the ControlCenterServices and ControlCenterServicesEx endpoints for managing services on Cisco Unified Communications Manager (CUCM).

Installation

npm install cisco-serviceability

Usage

const controlCenterService = require("cisco-serviceability");

// Initialize with CUCM publisher host, username, and password
const service = new controlCenterService("cucm-pub.example.com", "admin", "password");

// Get all service statuses
const status = await service.getServiceStatus();
console.log(status.results);

// Get status for a specific service
const cmStatus = await service.getServiceStatus("Cisco CallManager");
console.log(cmStatus.results);

// Restart a service
const result = await service.doControlServices("cucm-node", "Restart", "Cisco CallManager");
console.log(result.results);

ES Module

import controlCenterService from "cisco-serviceability";

SSO Cookie Authentication

// Initialize without credentials, pass cookie via options
const service = new controlCenterService("cucm-pub.example.com", "", "", {
  Cookie: "JSESSIONSSSO=your-sso-cookie",
});

API Methods

Control Center Services

| Method | Description | |--------|-------------| | getProductInformationList() | Lists all product and service information including ProductID, ServiceName, and DependentServices | | getServiceStatus(services?) | Get the status of all services or specific service(s). Pass a string or array of strings. | | getStaticServiceList() | Get the static list of all service specifications | | doControlServices(nodeName, controlType, services) | Start, stop, or restart services. controlType: "Start", "Stop", or "Restart" | | doServiceDeployment(nodeName, deployType, services) | Deploy or undeploy a service. deployType: "Deploy" or "UnDeploy" |

Control Center Services Extended

| Method | Description | |--------|-------------| | getFileDirectoryList(directoryPath) | Lists files in the specified directory (e.g., "/var/log/active/tomcat/logs/ccmservice") | | getStaticServiceListExtended() | Detailed service list including ProductID, restrictions, and sequence numbers | | doControlServicesEx(productId, dependencyType, controlType, services) | Start/stop/restart services (UCM and ELM 10.0+). productId: "CallManager", "Elm", or "Common" | | doServiceDeploymentNoDbUpdate(productId, deployType, services) | Deploy/undeploy without database updates |

Cookie Management

| Method | Description | |--------|-------------| | getCookie() | Returns the current stored session cookie | | setCookie(cookie) | Sets a cookie for subsequent requests |

Constructor

new controlCenterService(host, username, password, options?, retry?)

| Parameter | Type | Description | |-----------|------|-------------| | host | string | CUCM publisher IP/FQDN | | username | string | AXL username (blank if using SSO cookie) | | password | string | AXL password (blank if using SSO cookie) | | options | object | Additional headers (e.g., { Cookie: "..." }) | | retry | boolean | Enable automatic retries (default: true) |

Environment Variables

| Variable | Description | |----------|-------------| | CCS_RETRY | Max retry attempts (default: 3) | | CCS_RETRY_DELAY | Base retry delay in ms (default: 5000) |

Response Format

All methods return a Promise resolving to:

{
  cookie: "session-cookie-string",
  results: { /* parsed SOAP response */ }
}

API Documentation

License

MIT