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

openmct-mcws-plugin

v1.1.0-rc3

Published

Open MCT for MCWS

Downloads

43

Readme

Open MCT for MCWS Plugin

Open Mission Control Technologies for Mission Control Web Services Plugin (Open MCT for MCWS) is used with Open MCT, a next-generation web-based mission control framework for visualization of data on desktop and mobile devices. Open MCT for MCWS Plugin is built for the Open MCT Framework, and includes adapter code for using MCWS as a telemetry and persistence provider. Open MCT is developed at NASA Ames Research Center in Silicon Valley, in collaboration with NASA AMMOS and the Jet Propulsion Laboratory, California Institute of Technology (under its contract with NASA, 80NM0018D0004).

Configuration

Various configurations and customizations are available by editing recipes/default.yaml. Development configurations and customizations are available by editing recipes/development.yaml.

AMMOS configurations

  1. camUrl: The url to the CAM server, if CAM is to be used for authentication.
  2. mcwsUrl: The url to the MCWS server.
  3. In the namespaces configuration, url, the path to the MCWS persistence spaces, are required.

Further configuration documentation can be found in the CONFIGURATION.md.

Development

Prerequisite

You will need to install the Open MCT Configurator

1. Install Open MCT for MCWS

In a terminal, run this command to install Open MCT for MCWS and its dependencies. This may take a few minutes.

npm install

If you've installed Open MCT for MCWS locally before, first run this command.

npm run clean

2. Modify development.yaml

If necessary, make any modifications to development.yaml, such as adding Open MCT core plugins or modifying settings for the Openmct for MCWS Plugin

3. Build Open MCT with the Open MCT for MCWS Plugin locally using Open MCT Configurator

npm run build:prod 
mct build --recipe recipes/development.yaml --instance development
npm run serve

With that running, browse to http://localhost:8080/ to access Open MCT with the Open MCT for MCWS Plugin

Development MCWS server

To connect Open MCT to MCWS, either run a local mock server, run MCWS locally, or connect to a remote instance of MCWS.

Running a mock MCWS server

An example mock mcws server - https://github.com/davetsay/mcws-test-server *requires request access

Running MCWS locally

Refer to MCWS documentation.

Running a development server

Running a development server requires that you are on the JPL network so that you can access a development MCWS server. You'll need to retrieve an authentication cookie and make a small modification to your Open MCT for MCWS configuration; here's how.

1. Get your CAM cookie

To get past CAM, you will need to export an environment variable, COOKIE, that contains your CAM authentication cookie. Instructions for retrieving this cookie are at the bottom of the README. If you've copied your CAM cookie into the clipboard, use this command to set the variable:

export COOKIE=`pbpaste`

Tests

Tests are written for Jasmine 4.4 and run by Karma.

Test files end with Spec.js, and will be automatically executed when running the following command:

npm test

Running the tests creates a code coverage report in target/coverage.

Building for production

npm install
npm run build:prod 
mct build --recipe recipes/default.yaml --instance default

TODO: UPDATE THIS sentence, possibly with compressing the necessary files into a war. This will create a deployable artifact, openmct_client.war in the target directory.

Notes

Getting your CAM cookie

Go to the MCWS server location and log in to CAM. Then retrieve the cookie from your browser.

Unsure how to get cookies from the browser? Here's a shortcut: create a bookmarklet with the following code:

javascript:(function () {prompt('Your cookies for ' + location.host, document.cookie);})();

Pressing this bookmarklet will show you your cookies for the current host, which you can then copy into your clipboard to use to set the cookie environment variable. Note that logging out of CAM or getting a new session will require you to get the cookie again.