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

@unisphere/nx

v4.9.0

Published

Official Nx plugin for Unisphere workspace development. This plugin provides generators and executors for creating and managing Unisphere runtimes, visuals, applications, and packages.

Readme

Unisphere Workspace NX Plugin

Official Nx plugin for Unisphere workspace development. This plugin provides generators and executors for creating and managing Unisphere runtimes, visuals, applications, and packages.

Features

  • Create and manage Unisphere runtimes
  • Add visuals to existing runtimes
  • Generate development applications
  • Create shared packages
  • Documentation site generation
  • Package management utilities

Installation

This plugin is typically installed as part of a Unisphere workspace. If you need to install it manually:

npm install @unisphere/nx --save-dev

Generators

All generators are non-interactive and require explicit flags. Run any generator without flags to see available options and examples.

add-runtime

Creates a new Unisphere runtime package.

Required flags:

  • --name: The name of the runtime to create
  • --consumer: Runtime consumer type (external or internal)

Optional flags:

  • --dependencies: Packages to install (comma-separated: react, ds, mui)
  • --analyticsAppId: Analytics app ID (number)

Example:

nx g @unisphere/nx:add-runtime \
  --name=my-runtime \
  --consumer=external \
  --dependencies=react,ds

add-visual

Adds a visual component to an existing runtime.

Required flags:

  • --runtimeName: The name of the runtime to add the visual to
  • --visualName: The name of the visual to create

Optional flags:

  • --isSingleOccurrence: Whether this visual is limited to single occurrence (default: false)

Example:

nx g @unisphere/nx:add-visual \
  --runtimeName=my-runtime \
  --visualName=my-visual

add-application

Creates a development application for testing runtimes.

Required flags:

  • --name: The name of the application to create
  • --servingType: How the app should be served
    • local-dev-playground: Local development playground (default)
    • self-hosted: Self-hosted application
    • iframe-with-post-messages: iframe with post messages
    • assets-only: Assets only

Optional flags:

  • --runtimeName: Which runtime should the playground load
  • --htmlPageTitle: The HTML page title for your app
  • --dependencies: Packages to install (comma-separated: ds, mui, react-hook-form)

Example:

nx g @unisphere/nx:add-application \
  --name=my-dev-app \
  --servingType=local-dev-playground \
  --runtimeName=my-runtime

add-package

Creates a new shared package in the workspace.

Required flags:

  • --name: The name of the package to create
  • --type: Package type
    • library: Shared library
    • types: TypeScript types package
    • configuration: Configuration package

Optional flags:

  • --dependencies: Packages to install (comma-separated: react, ds, mui)

Example:

nx g @unisphere/nx:add-package \
  --name=shared-utils \
  --type=library \
  --dependencies=react

add-documentation

Generates a documentation site for your workspace.

Required flags:

  • --title: The title for the documentation site

Example:

nx g @unisphere/nx:add-documentation \
  --title="My Project Documentation"

remove

Removes a package from the workspace and cleans up all references.

Required flags:

  • --name: The name of the package to remove

Example:

nx g @unisphere/nx:remove --name=my-package

rename-package

Renames an existing package and updates all references.

Required flags:

  • --currentName: Current package name
  • --newName: New package name

Example:

nx g @unisphere/nx:rename-package \
  --currentName=old-name \
  --newName=new-name

change-package-scope

Changes the scope of a package (e.g., from @company to @newcompany).

Required flags:

  • --name: Package name to update
  • --newScope: New scope (without @ prefix)

Example:

nx g @unisphere/nx:change-package-scope \
  --name=my-package \
  --newScope=newcompany

Getting Help

Forgot what flags are required? Just run any generator without flags and you'll get a helpful error message with examples:

$ nx g @unisphere/nx:add-runtime

Error: Missing required option: 'name'
  Description: The name of the runtime to create
  Example: nx g @unisphere/nx:add-runtime --name=my-runtime --consumer=external

Migration from Interactive Generators

If you're upgrading from an older version that had interactive prompts, see the Migration Guide for details on the changes and how to update your workflows.

Development

Testing Generators

Run all generator tests:

npm test -- packages/nx/src/generators/

Building the Plugin

nx build @unisphere/nx

License

See the root LICENSE file for details.