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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@stackone/hub

v0.11.1

Published

StackOne HUB

Readme

StackOne HUB

⚠️ ALPHA SOFTWARE ⚠️
This project is currently in alpha stage. Features are incomplete, and may break without notice. Use in production environments is not recommended.

License Status Node Version

StackOne HUB is a React-based integration component library that provides a web component wrapper for seamless integration into any web application. It enables developers to easily embed StackOne's integrations hub.

📋 Table of Contents

⚠️ Alpha Notice

This software is in active development and should be considered alpha quality.

  • 🚧 Breaking changes may occur in any release
  • 🐛 Bugs and incomplete features are expected
  • 📚 Documentation may be outdated or incomplete
  • 🔄 APIs are subject to change without prior notice
  • Not recommended for production use

Please report issues and provide feedback to help us improve!

🚀 Quick Start

# Clone and setup
git clone <repository-url>
cd hub
npm install
npm run build

# Start development
npm run dev

📦 Installation

Prerequisites

  • Node.js v22.14.0 or higher
  • npm (comes with Node.js)

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd hub
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build

🛠️ Development

Environment Setup

  1. Create environment file:

    cp .env.example .env
  2. Configure your environment variables (see Environment Variables section)

  3. Start the development server:

    npm run dev

The development server will start at http://localhost:3000 (default port).

🏗️ Build

To build the project for production:

npm run build

Build Output

The build generates multiple bundles in the dist/ directory:

| File | Description | Use Case | |------|-------------|----------| | StackOneHub.esm.js | ES module bundle | Modern React applications | | StackOneHub.cjs.js | CommonJS module | Node.js/legacy environments | | StackOneHub.web.js | Web component bundle | Vanilla HTML/JS integration |

📖 Usage

🌐 Web Component Integration

For vanilla HTML/JavaScript applications:

<!DOCTYPE html>
<html>
<head>
    <title>StackOne HUB Integration</title>
</head>
<body>
    <script src="<TBD>/StackOneHub.web.js"></script>
    <my-component></my-component>
</body>
</html>

⚛️ React Component Integration

For React applications:

import StackOneHub from "@stackone/StackOneHub";

function App() {
  return (
    <div className="app">
      <h1>My Application</h1>
      <StackOneHub />
    </div>
  );
}

export default App;

💻 Local Development Usage

Web Component (Local)

<script src="dist/StackOneHub.web.js"></script>
<my-component></my-component>

React Component (Local)

import StackOneHub from "dist/StackOneHub.esm";

function App() {
  return <StackOneHub />;
}

🔧 Environment Variables

Create a .env file in the dev directory with the following variables:

| Variable | Description | Required | |----------|-------------|----------| | STACKONE_API_KEY | Your StackOne API key | ✅ | | ORIGIN_OWNER_ID | The origin owner identifier | ✅ | | ORIGIN_OWNER_NAME | Display name for the owner | ✅ | | ORIGIN_USERNAME | Username for authentication | ✅ | | API_URL | Backend API endpoint URL | ✅ | | DASHBOARD_URL | Dashboard application URL | ✅ |

Example .env file:

STACKONE_API_KEY=your_api_key_here
ORIGIN_OWNER_ID=your_owner_id
ORIGIN_OWNER_NAME=Your Company Name
ORIGIN_USERNAME=your_username
API_URL=https://api.stackone.com
DASHBOARD_URL=https://dashboard.stackone.com

🤝 Contributing

Since this project is in alpha, we welcome contributions and feedback! However, please keep in mind:

  • 🔄 Frequent changes: The codebase may change rapidly
  • 📋 No formal process yet: Contribution guidelines are still being established
  • 💬 Communication is key: Please open an issue before submitting large changes

Getting Started

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📄 License

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