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

@fastyoke/sdk-vue

v0.1.0

Published

Vue 3 bindings for FastYoke — 7 components + 4 composables wrapping @fastyoke/sdk-core. Preview release; API may change before 1.0.

Readme

@fastyoke/sdk-vue

Vue 3 bindings for FastYoke — 7 components + 4 composables wrapping @fastyoke/sdk-core.

Preview — API may change before 1.0.

This package is published on the preview dist-tag. Install with the explicit tag (npm install @fastyoke/sdk-vue@preview) — latest will not resolve until the v1.0 contract is locked.

Install

npm install @fastyoke/sdk-vue@preview @fastyoke/sdk-core
# peer dep — bring your own Vue
npm install vue

vue and @fastyoke/sdk-core are declared as peer dependencies. The SDK is built ESM-first with a CJS fallback and ships its own .d.ts types.

Quick start

Build the shared FastYokeClient once via createFastYokeClient from sdk-core, then install FastYokePlugin with that client. Every composable reads the client via Vue's inject contract.

// main.ts
import { createApp } from 'vue';
import { createFastYokeClient } from '@fastyoke/sdk-core';
import { FastYokePlugin } from '@fastyoke/sdk-vue';
import App from './App.vue';

const client = createFastYokeClient({
  tenantId: 'tenant_xyz',
  baseUrl: 'https://app.fastyoke.io',
  fetcher: fetch.bind(globalThis),
});

createApp(App)
  .use(FastYokePlugin, { client })
  .mount('#app');
<!-- App.vue -->
<script setup lang="ts">
import { useEntity, useFsmJob } from '@fastyoke/sdk-vue';

const { data: customer, isLoading, error } = useEntity('customer', 'cust_42');
const { data: shipment, transition } = useFsmJob('job_99');

async function markShipped() {
  await transition('mark_shipped');
}
</script>

<template>
  <div v-if="isLoading">Loading…</div>
  <div v-else-if="error">{{ error.message }}</div>
  <div v-else>
    {{ customer?.data_payload?.name }}
    <button @click="markShipped">Ship</button>
  </div>
</template>

Public surface (v0.1)

Composables (4 public + 2 internal):

  • useFastYokeClient() — raw FastYokeClient handle from sdk-core.
  • useEntity(entityName, id, { live? }){ data, error, isLoading, refresh }.
  • useFsmJob(jobId, { live? }){ data, error, isLoading, transition, cancel, refresh }.
  • useEvents(filter?){ events, close }, always live.
  • useEntityEventLog, useEntityJobs — internal, back <WorkflowSection />. Not exported from the barrel.

Components (7):

  • <SmartField />, <EntitySelect />, <ToggleSwitch />
  • <FsmViewer />, <WorkflowSection />
  • <LeftNavShell />, <TopNavShell />

SSR safety

Every composable opens realtime subscriptions only inside onMounted, guarded by isBrowser() + the injected ssrSafeRealtime flag (default true). Components never reference window during render. Use in plain Vue 3 SPAs, Vite SSR, or Nuxt SSR without configuration. Set { ssrSafeRealtime: false } on app.use() to skip realtime setup entirely (Phase G's @fastyoke/sdk-nuxt module sets this automatically on the server side).

Documented v0.1 gaps

  • Mutation composables (useCreateEntity, useUpdateEntity, useDeleteEntity, useSpawnJob) — call useFastYokeClient().entities.create(...) etc. directly. Ships in v0.2.
  • useFsmJob().transition() payload arg is dropped in v0.1 — the sdk-core TransitionInput exposes only eventType and contextRecordId. v0.2 widens the wire layer + composable together.
  • <FsmViewer /> reactflow canvas — only the compact timeline mode ships in v0.1. Full canvas mode in v0.2.
  • <FilePayloadView />, <ThemeStyle />, full theming primitives. Use the CSS variable hook described below.
  • Extension authoring (ExtensionRegistry, ExtensionErrorBoundary). Separate roadmap.

Theming

All components accept :class passthrough on their root element so you can layer Tailwind / CSS Modules / vanilla classes without forking. Component-internal styling reads CSS custom properties under the --fy-* prefix (e.g. --fy-accent, --fy-bg, --fy-border) so you can override the look at any ancestor scope without touching component code. Mirroring react/shells/ThemeStyle.tsx (a fetch-and-inject helper for tenant-defined CSS) arrives in v0.2.

License

MIT.