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

periplo-ui

v3.46.1

Published

IATI UI library

Readme

Periplo UI: IATI UI Library

Description: Periplo UI is a TypeScript library built with React and shadcn-ui modified components, providing reusable and accessible UI components for building IATI compliant applications.

Getting Started:

  1. Prerequisites:

    • Node.js v20+ is required.
  2. Installation:

    npm install periplo-ui
  3. Configuration:

    1. Root Layout Setup (Next.js):
    import { Providers } from '@src/providers/Providers';
    import { Onest } from 'next/font/google';
    
    const fontOnest = Onest({
      subsets: ['latin'],
      display: 'swap',
      variable: '--font-onest',
    });
    
    export default function RootLayout({
      children,
    }: Readonly<{
      children: React.ReactNode;
    }>) {
      return (
        <html lang="es" className={fontOnest.variable}>
          <body className={`antialiased`}>
            <Providers>{children}</Providers>
          </body>
        </html>
      );
    }
    1. Tailwind Configuration:
    import type { Config } from 'tailwindcss';
    import { periploTheme } from 'periplo-ui';
    
    export default {
      content: [
        './node_modules/periplo-ui/dist/**/*.{js,ts,jsx,tsx}',
        '../../node_modules/periplo-ui/dist/**/*.{js,ts,jsx,tsx}',
        './src/**/*.{js,ts,jsx,tsx}',
      ],
      darkMode: 'selector',
      plugins: [periploTheme(), require('tailwindcss-animated')],
    } satisfies Config;
  4. Usage:

    • Import component:

      import { Badge } from 'periplo-ui'
      
      function MyComponent() {
        return <Badge />
      }
    • Refer to documentation for individual component usage and API reference: https://periplo-ui.vercel.app/?path=/docs/getting-started--docs

🔧 Local Storybook Package Installation

You can test this Storybook package locally before publishing by following these steps:

📦 In the Storybook project:

  1. Install dependencies:

    npm install
  2. Build the project (if needed):

    npm run build
  3. Package the project:

    This will generate a .tgz file in the project root.

    npm pack

📥 In the target project:

  1. Install the package locally (replace the path with your .tgz file path):
    npm install /path/to/your/file/periplo-ui-1.0.0.tgz --force

⚠️ Make sure to use the correct absolute or relative path to the .tgz file generated with npm pack.

Available Commands:

| Command | Description | | ------------------- | -------------------------------------------------------------- | | build | Builds all components for distribution (output dist) | | dev | Starts development server on localhost:6006 | | lint | Lints all code according to code style guidelines | | test | Runs unit and integration tests | | storybook | Starts the Storybook development server | | storybook-build | Builds Storybook documentation (output build-storybook-static) | | prepare | Setup git hooks and runs build before npm install | | update-dependencies | Updates all dependencies to their latest versions | | commit | Opens the Commitizen prompt for creating commit messages |