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

campaign-cli

v1.2.1

Published

Save time, reduce risk and improve code health in Adobe Campaign with acc CLI

Downloads

1,378

Readme

Downloads Code Coverage License

acc, the command line interface for Adobe Campaign developers

Save time, reduce risk, and improve code health with acc! This CLI tool helps you build on your Adobe Campaign Classic instances. It quickly downloads Adobe Campaign v7 configuration, campaigns and online resources. You can also use it to automate many common development tasks.

Full documentation available on Getting started with acc

acc CLI downloading an Adobe Campaign instance

Table of contents

Features

  • Download all Marketing content: Campaigns, Deliveries, Web apps, and more!
  • Download all Technical content: Data schemas, Javascript codes & pages, Workflows and more!
  • Replace manual exports with scriptable, auditable, and repeatable operations
  • Decompose sources into codes (JS, HTML, CSS) and metadata (fields @created, @lastModified…)
  • Allow local code checkers, highlighters and linters
  • Work on any instance: local, staging, production ; and any OS: Windows, macOS, Linux

🚀 Quick Start

Installation

npm install -g campaign-cli

Usage

First time authentication:

# Interactive: prompts for any missing value; the password / IMS token is
# entered hidden (never stored in your shell history or visible in the
# process list).
acc auth init
# Host (i.e. https://instance1.campaign.adobe.com):
# Authentication method: (User / password | IMS bearer token)
# Username:
# Password:
# Alias (i.e. staging):

Campaign 8.5+ instances migrating to IMS authenticate with an IMS bearer token instead of a password:

acc auth init --method ImsBearerToken --host https://instance.campaign.adobe.com --token "$IMS_BEARER_TOKEN" --alias prod

The IMS bearer token is stored as-is and is short-lived (typically ~24h). Re-run acc auth init (or update acc.auth.instances via acc config) when it expires. Existing user/password instances keep working unchanged.

Then, recurring pulls:

acc instance pull --alias staging
# Downloading
# ✔ /Administration/Configuration/Form rendering: xtk:formRendering
# ✔ /Administration/Configuration/Javascript codes: xtk:javascript
# ✔ /Administration/Campaign Management/Typology management/Typology rules: nms:typologyRule

🔧 Advanced Configuration

Read the Advanced Use Cases documentation

Auth can be fully scripted: acc auth init --host https://instance.com --user username --pass 's3cret' --alias staging (or --method ImsBearerToken --token '...' for IMS instances)

# Run server-side JavaScript (xtk:builder#EvaluateJavaScript)
acc instance exec --alias staging --script "context.@result = application.instanceName"
acc instance exec --alias staging --script "context.@result = getOption('NmsEmail_DefaultFromAddr')"
acc instance exec --alias staging --file ./Administration/Configuration/JavaScript codes/mynamespace/my-script.js
# Diagnostic report: connection test, server time, active connections and
# instance state (xtk:session#TestCnx/#GetServerTime/#GetCnxInfo,
# nl:monitoring#DumpCurrentInstanceState). Best-effort: exits non-zero if any
# probe fails.
acc instance info --alias staging

📖 Command reference

The full command reference (every command, flag and example) lives in the acc Reference. You can also run acc --help or acc <topic> --help for inline help.

🗓️ Roadmap

Read the acc Roadmap.

🔒 Architecture & Security

Read the acc Architecture & Security.

📋 Changelog

Read the acc Changelog.

🤝 Contributing

Contributions are welcome! Please open a Github Pull Request!

🛠️ Local development

# Clone repository
git clone https://github.com/myrosblog/acc-cli.git && cd acc-cli
npm install
npm test # unit tests & integration tests with XML samples
ACC_E2E_ALIAS=local npm run test:e2e # end-to-end tests against a real instance

Coding conventions, project structure and contributor guidelines live in AGENTS.md.

📤 Output & logging

acc follows the Unix convention so its output is safe to script:

  • stdout carries the command result only — e.g. the XML returned by acc instance exec, or the IP from acc auth ip — raw and undecorated, so it pipes cleanly.
  • stderr carries everything else: progress spinners, status, warnings and errors. Verbosity is controlled by AIO_LOG_LEVEL (info by default; set AIO_LOG_LEVEL=debug to troubleshoot).
  • A rotating acc.log under the CLI cache directory keeps the full trace at all levels for audit/post-mortem, regardless of the console verbosity. Disable it with ACC_NO_FILE_LOG=1.
# Only the result reaches the pipe; diagnostics stay on the terminal (stderr)
acc instance exec --alias staging --script "context.@result = application.instanceName" | xmllint --format -