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

cmbox-cli

v0.1.29

Published

Command Line Interface for Fishbowl Solutions CM Box

Readme

cmbox-cli

cmbox Command Line Interface for CM Box

Requires CM Box v1.4.10 or greater for full functionality.

Command List

init

import

import types

import taxonomies

import assets

import site

import site_types

servers

servers add

servers delete

types sync

items delete_by_query

Flags

All commands will prompt the user for the required information, however flags can be used to bypass their respective prompts.

Import Flags

  • --server: target CM Box server listed in servers.json
  • --repo: target CM Box repository
  • --site: target CM Box site
  • --source: content source

CM Box Content Source

  • --sourceServer: source CM Box server listed in servers.json
  • --sourceRepo: source CM Box repository
  • --sourceSite: source CM Box site

OCM Site Export Content Source

  • --path: full filepath of unzipped OCM Site Export folder
  • --mapping: migration mapping file for OCM to CM Box conversion

Commands

cmbox init

Generates the servers.json that stores the user's CM Box server details.

servers.json is required for the other commands to work.

Import Commands

Supports importing content to target CM Box server from the following sources:

  • CM Box
  • Oracle Content Management (OCM) Site Export

cmbox import

Prompts user to select one of import commands.

1st argument specifies the command and skips the prompt.

cmbox import types

Imports types from content source to target CM Box server and adds them to target repository.

cmbox import taxonomies

Imports taxonomies from content source to target CM Box server and adds them to target repository.

cmbox import assets

Imports assets from content source to target CM Box repository. On server configuration, an ASSET_MAP.json will be created which will allow for custom mapping for fields.

Additional Flags:

--newOnly: Only import new assets with IDs that do not yet exist in target repository.

Requirements:

  • Target repository must already exist.
  • Asset types must exist in the repository prior to import assets.

cmbox import site

Imports site structure from content source to target CM Box site.

Requirements

  • Target site must already exist.
  • Referenced assets must already exist in target site's repository.

cmbox import site_types

  • Only used for OCM Site Export content source
  • Multi-step process that requires manual editing.

Servers Commands

cmbox servers

Manage CM Box servers for CLI use.

Provides options to add, reauthenticate, or delete servers in servers.json.

cmbox servers add

Adds a server to servers.json by prompting user for hostname and login information.

Passing the following flags will bypass the prompts:

  • --url: protocol and hostname of server
  • --username: username for server

Automatically collects token after successful login.

Generates an ASSET_MAP.json for custom asset mapping to this server.

cmbox servers delete

Deletes server from servers.json.

Additional Commands

cmbox types sync

Sync types from one CM Box instance to another.

cmbox items delete_by_query

Query to delete all assets in a repository is " ".

--showArchive: includes archived items in the query for deletion.

cmbox items regenerate_by_query

Query to regenerate renditions for all assets in a repository is " ".

--showArchive: includes archived items in the query for regeneration.