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

@rahul_vendure/vendure-plugin-faq

v1.0.7

Published

Vendure plugin for managing FAQs with i18n, channel support, and dashboard UI

Downloads

830

Readme

@rahul_vendure/vendure-plugin-faq

A Vendure plugin for managing Frequently Asked Questions with full i18n support, multi-channel awareness, soft deletes, and a React dashboard extension.

Features

  • Translatable — question and answer fields support multiple languages
  • Channel-aware — FAQs can be assigned to specific channels
  • Soft deletes — FAQs are soft-deleted, never permanently removed
  • Custom permissions — CRUD permissions (CreateFaq, ReadFaq, UpdateFaq, DeleteFaq)
  • Dashboard UI — full list/detail pages with bulk actions (delete, assign/remove channels)
  • Shop API — public query returns only enabled FAQs
  • Admin API — full CRUD with channel assignment

Installation

npm install @rahul_vendure/vendure-plugin-faq

Setup

import { FaqPlugin } from '@rahul_vendure/vendure-plugin-faq';

const config: VendureConfig = {
    plugins: [
        FaqPlugin.init(),
    ],
};

Important: This plugin creates faq and faq_translation tables plus a junction table for channel assignment. If your project has synchronize: false, generate and run a migration:

npx vendure migrate

Dashboard

The plugin includes a React dashboard extension that adds:

  • "Help & Support" nav section with an FAQs list page
  • FAQ detail page with translatable question/answer fields and enabled toggle
  • Bulk actions — delete, assign to channels, remove from channel

The dashboard extension is automatically picked up by Vendure's Vite build.

GraphQL API

Shop API

faqs

Returns only enabled FAQs, paginated.

query {
    faqs(options: { take: 10 }) {
        items {
            id
            question
            answer
        }
        totalItems
    }
}

Admin API

faqs / faq

query {
    faqs(options: { take: 10 }) {
        items { id question answer enabled }
        totalItems
    }
}

query {
    faq(id: "1") { id question answer enabled translations { languageCode question answer } }
}

createFaq

mutation {
    createFaq(input: {
        enabled: true
        translations: [
            { languageCode: en, question: "What is your return policy?", answer: "30 day returns." }
        ]
    }) {
        id question answer
    }
}

updateFaq

mutation {
    updateFaq(input: {
        id: "1"
        enabled: false
        translations: [
            { id: "1", languageCode: en, question: "Updated question", answer: "Updated answer" }
        ]
    }) {
        id question answer enabled
    }
}

deleteFaq

Soft deletes one or more FAQs.

mutation {
    deleteFaq(ids: ["1", "2"]) {
        result
        message
    }
}

assignFaqsToChannels / removeFaqsFromCurrentChannel

mutation {
    assignFaqsToChannels(input: { faqIds: ["1", "2"], channelIds: ["3"] }) {
        id question
    }
}

mutation {
    removeFaqsFromCurrentChannel(faqIds: ["1"]) {
        id question
    }
}

Permissions

| Permission | Description | | --- | --- | | CreateFaq | Create new FAQs | | ReadFaq | View FAQs | | UpdateFaq | Update FAQs and manage channel assignments | | DeleteFaq | Soft-delete FAQs |

Database

Creates the following tables:

  • faq — main entity with enabled, deletedAt (soft delete)
  • faq_translation — translations with languageCode, question, answer
  • faq_channels_channel — junction table for channel assignment

Compatibility

  • Vendure ^3.0.0

License

MIT