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

@bettertogether/community-engine-vue

v0.2.7

Published

The Better Together Community Engine is a universal community platform

Readme

Community Engine Vue

Vue 2 plugin for the Better Together Community Engine platform. Provides shared components, Vuex store modules, Vue Router routes, and API clients for Better Together host applications.

Note: This package targets Vue 2. A Vue 3 migration is planned — see Migration Plan.

Installation

yarn add @bettertogether/community-engine-vue
# or
npm install @bettertogether/community-engine-vue

Usage

Register the plugin in your app's entry point:

import Vue from 'vue'
import CommunityEngineVue from '@bettertogether/community-engine-vue'

Vue.use(CommunityEngineVue)

Router integration

Import and spread the provided routes into your own router:

import { BtRoutes } from '@bettertogether/community-engine-vue'

const router = new VueRouter({
  mode: 'history',
  routes: [
    ...BtRoutes,
    // your app's own routes
  ],
})

Store integration

Import and merge the provided store modules and plugins:

import { BtStoreModules, BtStorePlugins } from '@bettertogether/community-engine-vue'

export default new Vuex.Store({
  modules: { ...BtStoreModules },
  plugins: [...BtStorePlugins],
})

Environment Variables

| Variable | Default | Description | |---|---|---| | VUE_APP_BETTER_TOGETHER_API_URI | http://localhost:3000 | Base URL of the Community Engine Rails API |

Exported API Surface

Components

| Component | Description | |---|---| | BtHeader | App header with branding and navigation | | BtNavBar | Navigation bar | | BtNavItem | Individual nav link | | BtNavUser | Authenticated user menu | | BtBrandingLogo | Logo component | | BtMainContent | Main layout wrapper / router-view host | | BtUserSignInForm | Login form | | BtUserSignUpForm | Registration form | | BtUserResetPasswordForm | Password reset request form | | BtUserNewPasswordForm | New password form (token-based) | | BtUserResendConfirmationForm | Resend confirmation email form | | BtProfileForm | User profile editing form | | CommunityForm | Community creation/editing form |

Vuex Store Modules

All modules are namespaced under CommunityEngine/:

| Module | Namespace | Description | |---|---|---| | Authentication | CommunityEngine/Authentication | Login state, current user | | Communities | CommunityEngine/Communities | Community data | | Menus | CommunityEngine/Menus | Header and nav menu items | | People | CommunityEngine/People | User/person profiles |

Router Routes (BtRoutes)

| Path | Name | |---|---| | / | Home | | /me | Me (user profile) | | /users/sign-in | Sign In | | /users/sign-up | Sign Up | | /users/password/reset | Reset Password | | /users/password/new | New Password | | /users/confirmation/resend | Resend Confirmation | | /users/confirmation | Account Confirmation |

Development

# Install dependencies
yarn install

# Start dev server
yarn serve

# Build for production
yarn build

# Run E2E tests
yarn test:e2e

# Run unit tests
yarn test:unit

# Lint
yarn lint

Vue 3 Migration Plan

Migration to Vue 3 is planned. Key changes will include:

  • Vue 2 → Vue 3 (with @vue/compat bridge phase)
  • Vuex → Pinia
  • Vue Router 3 → Vue Router 4
  • BootstrapVue 2 → BootstrapVue Next (or Oruga + Bootstrap 5)
  • Webpack (Vue CLI) → Vite
  • Options API → Composition API (<script setup>)
  • Auth guards rewritten as reactive Pinia-based beforeEach callbacks

License

LGPL-3.0-or-later