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

@academy-sdk/sdk

v0.2.7

Published

SDK for building custom learner templates for the Academy platform

Readme

@academy-sdk/sdk

Core SDK for building custom learner templates for the Academy platform. Provides reusable React components, hooks, TypeScript contracts, and utilities.

Installation

npm install @academy-sdk/sdk

Peer Dependencies

npm install react react-dom lucide-react clsx class-variance-authority tailwind-merge

Usage

Hooks

import { useUser, useMyCourses, useMyBundles, useTheme, useToast } from '@academy-sdk/sdk';

function MyComponent() {
  const user = useUser();
  const { courses, loading } = useMyCourses();
  const { theme, toggleTheme } = useTheme();
}

Contracts & Types

Define your template manifest using the SDK contracts:

import type { TemplateManifest, MyLearningPageProps, CatalogCoursesPageProps } from '@academy-sdk/sdk/contracts';

const template: TemplateManifest = {
  name: 'my-template',
  version: '1.0.0',
  pages: {
    MyLearningPage: CustomMyLearningPage,
    CatalogCoursesPage: CustomCatalogCoursesPage,
    // ... other pages
  },
};

export default template;

Components

Components are organized using atomic design:

// Atoms — basic building blocks
import { Button, Input, Card, Badge, Avatar, ProgressBar, Tabs } from '@academy-sdk/sdk/components/atoms';

// Molecules — composite components
import { CourseCard, Pagination, PageHeader, SearchInput, EmptyState, LoadingSpinner } from '@academy-sdk/sdk/components/molecules';

// Organisms — complex components
import { LearnerNavbar, LearnerSidebar, CourseSidebar, LessonNotes, LessonBookmarks } from '@academy-sdk/sdk/components/organisms';

// Default pages — use as-is or as starting points
import { MyLearningPage, CatalogCoursesPage, CourseDetailPage, CoursePlayerPage } from '@academy-sdk/sdk/components/pages';

Default Layout

import { DefaultLayout } from '@academy-sdk/sdk';

Subpath Exports

| Import Path | Contents | |---|---| | @academy-sdk/sdk | Hooks, types, contracts, utilities, layout | | @academy-sdk/sdk/contracts | TemplateManifest & page prop interfaces | | @academy-sdk/sdk/hooks | React hooks (useUser, useMyCourses, etc.) | | @academy-sdk/sdk/types | TypeScript type definitions | | @academy-sdk/sdk/utils | Utility functions | | @academy-sdk/sdk/components | All components | | @academy-sdk/sdk/components/atoms | Button, Input, Card, Badge, Avatar, etc. | | @academy-sdk/sdk/components/molecules | CourseCard, Pagination, SearchInput, etc. | | @academy-sdk/sdk/components/organisms | LearnerNavbar, LearnerSidebar, etc. | | @academy-sdk/sdk/components/pages | Default page implementations | | @academy-sdk/sdk/styles.css | Bundled CSS styles |

How It Works

  • Templates receive all data as props — no API calls needed
  • Use SDK components as building blocks, or build from scratch
  • Only customize the view layer — the platform handles routing, data, and logic

Available Page Contracts

| Page | Props Interface | |---|---| | My Learning | MyLearningPageProps | | Catalog Courses | CatalogCoursesPageProps | | Catalog Bundles | CatalogBundlesPageProps | | Course Detail | CourseDetailPageProps | | Bundle Detail | BundleDetailPageProps | | Course Player | CoursePlayerPageProps | | Messages | MessagesPageProps | | Manual Review | ManualReviewPageProps | | Learner Settings | LearnerSettingsPageProps | | Payment Success | PaymentSuccessPageProps | | Payment Cancel | PaymentCancelPageProps | | Creator Profile | CreatorProfilePageProps |

License

MIT