Skip to content

Repository files navigation

fs-packages

Shared frontend service packages by Script Development, published to the public npm registry under the @script-development scope.

Documentation — Getting started, architecture, package guides, and contributing.

Packages

Foundation

Package Description
@script-development/fs-http HTTP service factory with middleware architecture
@script-development/fs-storage localStorage service factory with prefix namespacing
@script-development/fs-helpers Tree-shakeable utilities: deep copy, type guards, case conversion

Services

Package Description
@script-development/fs-theme Reactive dark/light mode with system preference detection
@script-development/fs-loading Loading state service with HTTP middleware integration
@script-development/fs-toast Component-agnostic toast notification queue
@script-development/fs-dialog Component-agnostic dialog stack with error middleware
@script-development/fs-translation Type-safe reactive i18n with multi-locale support

Domain

Package Description
@script-development/fs-adapter-store Reactive state management with CRUD resource adapters
@script-development/fs-router Type-safe router with CRUD navigation and middleware pipeline

Quick Start

npm install @script-development/fs-http
import {createHttpService} from '@script-development/fs-http';

const http = createHttpService('https://api.example.com');
const response = await http.getRequest<User[]>('/users');

See the documentation for the full getting started guide, architecture deep-dive, and package API tours.

Development

npm install          # Install all dependencies
npm run build        # Build all packages
npm run test         # Run all tests
npm run lint         # Lint all packages
npm run format       # Format all packages

See CONTRIBUTING.md for the full development guide.

About

Shared frontend service packages by Script Development

Topics

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages