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

afara-online

v0.1.4

Published

Beautiful, responsive web components for event businesses and fashion galleries. Built with Stencil.js for use in Framer and other web platforms.

Readme

Afara Online - Web Components Library

License: MIT Built with Stencil

Beautiful, responsive web components for event businesses and fashion galleries. Built with Stencil.js, these components work seamlessly in Framer, React, Vue, Angular, or vanilla HTML.

🎨 Components

brands-we-love-gallery

A fully responsive, interactive brand gallery component perfect for showcasing fashion collaborators, partners, or featured brands.

Features:

  • ✨ Responsive design (mobile, tablet, desktop)
  • 🖼️ Interactive image gallery with lightbox
  • 📱 Touch/swipe support for mobile devices
  • ⌨️ Keyboard navigation (arrows, escape)
  • 🔄 Circular gallery navigation
  • ♿ Full accessibility (ARIA labels, keyboard support)
  • 🎨 Customizable branding colors
  • 📍 Instagram handle integration

View Component Documentation →

🚀 Quick Start

Installation

npm install afara-online
# or
yarn add afara-online

Usage in HTML/Framer

<!-- Include the component -->
<script type="module">
  import { defineCustomElements } from 'https://unpkg.com/afara-online/loader/index.es2017.js';
  defineCustomElements();
</script>

<!-- Use the component -->
<brands-we-love-gallery id="gallery"></brands-we-love-gallery>

<script>
  // Load brand data
  fetch('https://your-cdn.com/brands.json')
    .then(res => res.json())
    .then(brands => {
      document.getElementById('gallery').brands = brands;
    });
</script>

Usage in React

import { defineCustomElements } from 'afara-online/loader';

defineCustomElements();

function App() {
  const brands = [...]; // Your brand data

  return <brands-we-love-gallery brands={JSON.stringify(brands)} />;
}

Usage in Vue

<template>
  <brands-we-love-gallery :brands="brandsJSON" />
</template>

<script>
import { defineCustomElements } from 'afara-online/loader';

defineCustomElements();

export default {
  data() {
    return {
      brands: [...], // Your brand data
    };
  },
  computed: {
    brandsJSON() {
      return JSON.stringify(this.brands);
    },
  },
};
</script>

📦 Brand Data Structure

Create a JSON file with your brand data:

[
  {
    "id": "unique-brand-id",
    "name": "BRAND NAME",
    "city": "City Name",
    "country": "Country Name",
    "instagramHandle": "instagram_handle",
    "thumbnailUrl": "https://url-to-thumbnail.jpg",
    "galleryImages": ["https://url-to-image-1.jpg", "https://url-to-image-2.jpg", "https://url-to-image-3.jpg"]
  }
]

🎨 Design System

This component library uses a cohesive design system:

  • Font: Inter
  • Primary Purple: #2E1065
  • Accent Orange: #F97316
  • Dark Grey: #1E293B

🛠️ Development

Prerequisites

  • Node.js 16+
  • Yarn or npm

Setup

# Clone the repository
git clone https://github.com/yourusername/afara-online.git

# Install dependencies
yarn install

# Start development server
yarn start

Visit http://localhost:3333 to see the demo.

Build

# Build for production
yarn build

Testing

# Run tests
yarn test

# Run tests in watch mode
yarn test.watch

📱 Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • iOS Safari 12+
  • Chrome Android (latest)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License - see the LICENSE file for details.

🔗 Links

💡 Use Cases

Perfect for:

  • Event business websites
  • Fashion brand showcases
  • Collaboration highlights
  • Partner directories
  • Portfolio galleries
  • Product catalogs

📧 Support

For support, email [email protected] or open an issue on GitHub.


Built with ❤️ using Stencil.js