Skip to content

FS PackagesShared frontend services

A collection of framework-agnostic and Vue-powered service packages built by Script Development.

The Packages

All packages are published under the @script-development scope on npm.

Foundation

These packages have zero Vue dependency — they work in any TypeScript project.

PackageDescription
fs-httpHTTP service factory with middleware architecture
fs-storagelocalStorage service factory with prefix namespacing
fs-helpersTree-shakeable utilities: deep copy, type guards, case conversion

Services

Vue-powered reactive services for common application concerns.

PackageDescription
fs-themeReactive dark/light mode with system preference detection
fs-loadingLoading state service with HTTP middleware integration
fs-toastComponent-agnostic toast notification queue
fs-dialogComponent-agnostic dialog stack with error middleware
fs-translationType-safe reactive i18n with multi-locale support

Domain

Higher-level packages for domain-driven application architecture.

PackageDescription
fs-adapter-storeReactive state management with CRUD resource adapters
fs-routerType-safe router with CRUD navigation and middleware pipeline

Quality Guarantees

Every package passes an 8-gate CI pipeline before it can be published:

  1. Security auditnpm audit for known vulnerabilities
  2. Formatting — oxfmt enforces consistent code style
  3. Linting — oxlint catches bugs and anti-patterns
  4. Build — tsdown compiles to dual ESM + CJS output
  5. Type checking — TypeScript strict mode, no implicit any
  6. Package lint — publint and attw verify package exports are correct
  7. Coverage — 100% code coverage via vitest
  8. Mutation testing — 90% mutation score via Stryker ensures tests actually verify behavior

Built by Script Development & Back to Code