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/runtime

v1.99.0

Published

`@unisphere/runtime` is a core library for Unisphere, providing essential Unisphere elements declarations that are utilized by the Unisphere workspace runtime. This library serves as the foundational layer for building and managing Unisphere elements with

Readme

@unisphere/runtime

@unisphere/runtime is a core library for Unisphere, providing essential Unisphere elements declarations that are utilized by the Unisphere workspace runtime. This library serves as the foundational layer for building and managing Unisphere elements within the Unisphere ecosystem, enabling seamless interaction and integration within the workspace environment.

Features

  • Unisphere Element Declarations: Contains type-safe declarations for Unisphere elements, enabling developers to create, modify, and interact with elements in the Unisphere workspace.
  • Workspace Runtime Compatibility: Designed to integrate effortlessly with the Unisphere workspace runtime, allowing dynamic interaction between Unisphere elements.
  • Modular & Scalable: Built to support modular design and scalability, making it suitable for large-scale applications within the Unisphere ecosystem.

Installation

Install the @unisphere/runtime library via npm:

npm install @unisphere/runtime

Or with Yarn:

yarn add @unisphere/runtime

Usage

After installing @unisphere/runtime-js, you can import and utilize Unisphere element declarations within your project.

import { UnisphereElement } from '@unisphere/runtime';

// Example: Declare a new Unisphere element
const myElement: UnisphereElement = {
  id: 'unique-element-id',
  type: 'custom',
  properties: {
    // Define properties specific to your element
    name: 'My Custom Element',
    description: 'An example element for demonstration purposes',
  },
};

// Usage in workspace runtime
workspace.addElement(myElement);

Integration with Unisphere Workspace

The elements declared in @unisphere/runtime are compatible with the Unisphere workspace runtime. This allows you to register, configure, and manage elements dynamically, enabling a flexible and adaptable workspace.

Example

Here’s a basic example of using @unisphere/runtime within a Unisphere workspace:

import { workspace } from 'unisphere-runtime';
import { UnisphereElement } from '@unisphere/runtime';

const exampleElement: UnisphereElement = {
  id: 'example-id',
  type: 'widget',
  properties: {
    title: 'Example Widget',
    content: 'This is a sample widget for Unisphere.',
  },
};

workspace.registerElement(exampleElement);

API Reference

The following are key components provided by @unisphere/runtime:

	•	UnisphereElement: A core type for defining elements within the Unisphere workspace.
	•	id (string): Unique identifier for the element.
	•	type (string): Type of the element (e.g., widget, component).
	•	properties (object): Configuration properties specific to the element type.

Additional Types and Utilities

For more details on additional types and utility functions provided by @unisphere/runtime, refer to the full documentation (coming soon).

Contributing

Contributions are welcome! Please follow our contributing guidelines and make sure to adhere to our code of conduct.

License

This library is licensed under the MIT License. See the LICENSE file for details.

Contact & Support

If you have any questions or need assistance, please reach out to our support team or open an issue on our GitHub repository.

This `README.md` file provides a comprehensive overview of the `@unisphere/runtime` library with installation instructions, usage examples, API reference, and contribution guidelines. Adjust any placeholders (like links or example code) as needed for your specific setup.