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

@friendsofshopware/jetpack

v0.0.2

Published

Jetpack is a rapid development framework for Shopware 6 administration.

Readme

@friendsofshopware/jetpack

A rapid development framework for Shopware 6 Administration modules. Build complete CRUD interfaces for your entities with minimal code.

Installation

npm install @friendsofshopware/jetpack

Quick Start

Given a Shopware entity:

#[AutoconfigureTag('shopware.entity')]
#[\Shopware\Core\Framework\DataAbstractionLayer\Attribute\Entity('store')]
class StoreEntity extends Entity
{
    #[PrimaryKey]
    #[Field(type: FieldType::UUID)]
    public string $id;

    #[Field(type: FieldType::STRING, translated: true)]
    public ?string $name = null;

    #[Translations]
    public ?array $translations = null;
}

Create a complete Administration module:

import {
    registerEntityModule,
    registerDetailComponent,
    registerListingComponent
} from '@friendsofshopware/jetpack';

registerEntityModule({
    entity: 'store',
    showInSettings: true,
    listingComponent: registerListingComponent({
        entity: 'store',
        columns: {
            name: { linkToDetail: true }
        }
    }),
    detailComponent: registerDetailComponent({
        entity: 'store',
        cards: [{
            name: 'general',
            fields: {
                name: { type: 'text' }
            }
        }]
    })
});

Features

  • Declarative Configuration - Define modules with simple configuration objects
  • Automatic Listing Pages - Sorting, pagination, and language switching out of the box
  • Automatic Detail Pages - Form validation and error handling included
  • Translation Support - Built-in support for translatable entities
  • Type-Safe - Full TypeScript support with comprehensive type definitions

Documentation

For full documentation, visit our documentation site.

API Reference

registerEntityModule(options)

Registers a complete Administration module with routing and navigation.

| Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | entity | string | Yes | - | Entity name | | listingComponent | string | Yes | - | Component from registerListingComponent | | detailComponent | string | Yes | - | Component from registerDetailComponent | | color | string | No | #9AA8B5 | Module color | | icon | string | No | regular-envelope | Module icon | | showInNavigation | boolean | No | true | Show in main navigation | | showInSettings | boolean | No | false | Show in settings | | navigationParentModule | string | No | sw-customer | Parent module for navigation |

registerListingComponent(options)

Creates a listing page component.

| Option | Type | Required | Description | |--------|------|----------|-------------| | entity | string | Yes | Entity name | | columns | Record<string, ColumnOptions> | Yes | Column configuration | | showSearchBar | boolean | No | Show search bar |

Column Options:

| Option | Type | Default | Description | |--------|------|---------|-------------| | linkToDetail | boolean | false | Link to detail page | | sortable | boolean | true | Allow sorting | | width | string | 'auto' | Column width | | align | 'left' \| 'right' | 'left' | Text alignment | | visible | boolean | true | Column visibility | | inlineEdit | 'string' \| 'number' | - | Enable inline editing |

registerDetailComponent(options)

Creates a detail/create page component.

| Option | Type | Required | Description | |--------|------|----------|-------------| | entity | string | Yes | Entity name | | cards | CardOptions[] | Yes | Card configuration | | labelProperty | string | No | Property for entity description (default: 'name') |

Field Types:

  • text - Single-line text input
  • textarea - Multi-line text input
  • number - Numeric input
  • checkbox - Boolean checkbox
  • password - Password input
  • url - URL input
  • select - Single select dropdown
  • multi-select - Multiple select dropdown

Snippets

Jetpack uses translation keys for all labels. Create snippet files with this structure:

{
    "jetpack-store": {
        "title": "Stores",
        "list": {
            "actions": { "create": "Create store", "edit": "Edit" },
            "columns": { "name": "Name" }
        },
        "detail": {
            "actions": { "save": "Save" },
            "cards": {
                "general": {
                    "title": "General",
                    "fields": { "name": "Name" }
                }
            }
        }
    }
}

License

MIT

Contributing

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