JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q44503F
  • License MIT

Pricing pages from config

Package Exports

  • @archetypeapi/pricing-page
  • @archetypeapi/pricing-page/dist/index.js
  • @archetypeapi/pricing-page/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@archetypeapi/pricing-page) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Archetype Pricing Page

Configurable pricing pages as modular React components.

Add discounts, emphasize plans, and compare features. Match your brand or use production-ready defaults.

Installation

Explore the docs and view the quickstart guide

Install the package from NPM, @archetypeapi/pricing-page

npm i @archetypeapi/pricing-page

Requirements

react: "^18.1.0"

Usage

After installing the NPM package we can import the Customer Portal react component and then utelize it.

import { PricingPage } from "@archetypeapi/pricing-page";

export default function Home() {
  return (
    <>
      <PricingPage token={"token_from_sdk"} />
    </>
  );
}

Your Archetype token is important to authenticate usage. The token can be genereated using the Archetype Python SDK or Archetype Node SDK. Your app_id and API key should not be exposed on the client.

About Archetype

Archetype is the revenue infrastructure that makes API monetization quick and painless. It works by integrating a powerful, reliable purchase server with cross-platform support. Our open-source framework provides a backend wrapper around payment processors like Stripe to save engineers months of building custom billing infrastructure for their APIs.

Whether you are building a new API or already have millions of customers, you can use Archetype to:

Sign up to get started.

If looking to use our APIs directly, the API reference is here.

With Archetype, you can keep track of all your app transactions in one place — whether your customers are charged through iOS, Android, or the web. As the single source of truth for your API business, we make sure your customers' subscription status is always up to date.