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

funky-frame

v1.0.4

Published

Lightweight, no-build JavaScript UI framework with 86+ components, PWA support, and zero dependencies

Readme

Funky Frame

npm version License: MIT

A lightweight, no-build JavaScript UI framework with 86+ components, PWA support, and zero dependencies.

✨ Features

  • No Build Step - Pure ES5 JavaScript, works directly in the browser
  • 86+ UI Components - Tables, modals, forms, charts, and more
  • 45+ Core Modules - DOM manipulation, routing, state management, API handling
  • PWA Ready - Service workers, offline support, push notifications
  • SPA Routing - Client-side navigation with history API
  • Theming - Bootstrap 5 compatible with CSS custom properties (--pro-*)
  • Accessibility - WCAG compliant components with focus management
  • jQuery-like API - Chainable DOM manipulation via Funky.Dom
  • Interactive Playground - Try components live in the browser

📦 Installation

npm install funky-frame

Or clone from GitHub:

git clone https://github.com/ThisUsedToBeAnEmail/Funky-Frame.git

Live Demo & Documentation: https://funkyfra.me

🚀 Quick Start

Include the core library and any components you need:

<!DOCTYPE html>
<html>
<head>
  <!-- Bootstrap 5 (required) -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
  
  <!-- Funky Frame Styles -->
  <link rel="stylesheet" href="node_modules/funky-frame/css/themes.css">
  <link rel="stylesheet" href="node_modules/funky-frame/css/custom.css">
  <link rel="stylesheet" href="node_modules/funky-frame/css/toasts.css">
</head>
<body>
  <button id="notify" class="btn btn-primary">Show Toast</button>

  <!-- Core (namespace must be loaded first) -->
  <script src="node_modules/funky-frame/js/core/namespace.js"></script>
  <script src="node_modules/funky-frame/js/core/dom.js"></script>
  
  <!-- Components -->
  <script src="node_modules/funky-frame/js/components/toast.js"></script>
  
  <script>
    Funky.Dom('#notify').on('click', function() {
      Funky.Toast.show({
        title: 'Hello!',
        message: 'Welcome to Funky Frame',
        type: 'success'
      });
    });
  </script>
</body>
</html>

🎮 Interactive Playground

Try components in the browser without any setup:

npm start
# Opens playground at http://localhost:3000/playground/

Or open playground/index.html directly in your browser.

📚 Documentation

Full API documentation is available in the docs/ directory:

🧩 Core Modules

| Module | Description | |--------|-------------| | Funky.Dom | jQuery-like chainable DOM manipulation | | Funky.Api | HTTP requests with CSRF, retry, caching | | Funky.SPA | Single-page app routing | | Funky.Pages | Page lifecycle management | | Funky.Navigation | History API navigation | | Funky.LiveBinding | Reactive data binding | | Funky.Events | Event bus / pub-sub | | Funky.Channel | Cross-tab communication | | Funky.Storage | localStorage/sessionStorage wrapper | | Funky.Keyboard | Keyboard shortcuts | | Funky.FocusManager | Accessibility focus trapping | | Funky.ServiceWorker | PWA service worker registration |

🎨 UI Components

Data Display

  • Funky.Table - Data tables with sorting, filtering, pagination
  • Funky.TreeView - Hierarchical tree navigation
  • Funky.Kanban - Drag-and-drop kanban boards
  • Funky.Calendar - Event calendars
  • Funky.Timeline - Vertical/horizontal timelines
  • Funky.VirtualisedList - Efficiently render large lists

Forms & Input

  • Funky.Combobox - Searchable dropdowns with autocomplete
  • Funky.DatePicker - Date/time picker
  • Funky.Mask - Input masking
  • Funky.Signature - Signature capture pad
  • Funky.InlineEdit - Click-to-edit fields
  • Funky.FormSchema - Schema-driven form generation

Dialogs & Overlays

  • Funky.Modal - Modal dialogs
  • Funky.Popover - Popovers and tooltips
  • Funky.ContextMenu - Right-click context menus
  • Funky.CommandPalette - Cmd+K spotlight search
  • Funky.SlidePanel - Slide-out panels
  • Funky.Tour - Guided tours

Notifications

  • Funky.Toast - Toast notifications
  • Funky.NotificationCenter - Notification inbox
  • Funky.PushNotification - Browser push notifications

Media

  • Funky.Audio - Audio player controls
  • Funky.Video - Video player with custom controls
  • Funky.Carousel - Image/content carousels
  • Funky.CodePreview - Syntax-highlighted code blocks

Visualization

  • Funky.Charts - Chart.js wrapper
  • Funky.Plotly - Plotly.js integration
  • Funky.DashboardGrid - Draggable dashboard widgets

Animation

  • Funky.Morph - DOM morphing transitions
  • Funky.PageAnimate - Page transition effects
  • Funky.GestureTracker - Touch gesture recognition
  • Funky.Typewriter - Typewriter text effect

🖥️ Development Server

Funky Frame requires no build step - just serve the files with any static HTTP server.

make help                # Show available make commands

Available Make Targets

| Command | Server | Port | |---------|--------|------| | make start | Node.js/serve | 3000 | | make start-js | Node.js/serve | 3000 | | make start-python | Python 3 http.server | 8000 | | make start-perl | Perl/Mojolicious | 8000 | | make start-ruby | Ruby/WEBrick | 8000 | | make start-php | PHP built-in server | 8000 | | make start-deno | Deno file_server | 8000 | | make start-bun | Bun/serve | 8000 | | make start-rust | miniserve | 8000 | | make start-csharp | dotnet-serve | 8000 |

Override the default port:

make start-python PORT=9000

Other Servers

Any server that serves static HTML files will work:

# Using npx
npx serve . -p 3000

# Using Python
python3 -m http.server 8000

# Using PHP
php -S localhost:8000

# Using Apache/Nginx
# Just point the document root to the project directory

🌐 Browser Support

  • Chrome 60+
  • Firefox 55+
  • Safari 12+
  • Edge 79+

🤝 Contributing

Contributions are welcome! Please read our contributing guidelines and submit PRs.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

📄 License

MIT © Funky Frame Contributors