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

@ollie-shop/sdk

v0.2.1

Published

> **⚠️ PLANNED PACKAGE: This package is currently in the planning phase and will be implemented in the future.**

Readme

@ollie-shop/sdk

⚠️ PLANNED PACKAGE: This package is currently in the planning phase and will be implemented in the future.

A public SDK that will enable developers to create custom components for the Ollie Shop checkout experience.

Overview

The SDK will provide tools for merchants and developers to extend the standard checkout experience with custom components. These components can be registered by clients and dynamically loaded at runtime to replace default components or add new functionality at specific points in the checkout flow.

Core Concept

The Ollie Shop platform is designed with extensibility in mind. The SDK will be the primary way for developers to create custom extensions that seamlessly integrate with the checkout flow. This enables merchants to tailor the checkout experience to their specific needs without modifying the core application.

Key Features (Planned)

Component Slots System

The checkout UI will include predefined "slots" where custom components can be injected. This allows for precise placement of custom functionality within the checkout flow.

Some example slots will include:

  • Header and footer areas
  • Before/after cart items
  • Around payment methods
  • Within order summary sections
  • Confirmation page elements

Dynamic Loading

Custom components will be loaded at runtime based on store configuration. The platform will:

  1. Identify which components to load for a specific store
  2. Fetch the required JavaScript and CSS resources
  3. Mount the components in their designated slots
  4. Provide access to checkout state and actions

Checkout State Access

Custom components will be able to access and interact with the checkout session data, allowing them to:

  • Display information from the current checkout state
  • Dispatch actions to update the checkout (add discounts, update quantities, etc.)
  • React to changes in the checkout flow

Development Tools

The SDK will provide various tools to support the development of custom components:

  • Component definition helpers
  • Testing utilities
  • Build tools for optimizing component bundles
  • Development environment for testing integrations

Integration with Types

The SDK will work with the component registration system already defined in @ollie-shop/types, which provides the interface for how components are registered in the store configuration.

Use Cases

The SDK will enable various extensibility scenarios, such as:

  • Loyalty program integrations
  • Custom upsell components
  • Store-specific branding elements
  • Special checkout flows for different product types
  • Integration with external systems (CRM, ERP, etc.)

Security and Best Practices

The SDK will be designed with security in mind:

  • Components will run in a controlled environment with appropriate permissions
  • Sensitive operations (like payment processing) will remain in the core platform
  • Resource loading will follow strict content security policies
  • Validation will ensure components cannot disrupt the checkout flow

License

Proprietary - All rights reserved