
The Lacspace
Developer Platform
63 zero-dependency, isomorphic TypeScript packages — the standard library your backend and frontend keep re-inventing — plus a CLI that scaffolds a finished Next.js app, and the docs to build with all of it.
The platform
Documentation, packages, the handbook, scaffolding and live apps — the surfaces you need to go from install to production.
npm Packages
All 63 zero-dependency packages — grouped by kit, with versions and one-line docs.
Browse packagesDeveloper Handbook
Install, use, upgrade, scaffold and ship — the end-to-end guide to the ecosystem.
Open handbookScaffold an App
create-lacspace-app writes a finished Next.js app in ~0.15s — 8 templates, SEO wired.
Scaffold nowDeployed Apps
Eight finished templates, live and clickable — see exactly what one command produces.
Open templatesIntegrations
Drop the packages into Next.js, Node, edge runtimes, React — isomorphic by design.
See integrationsCompare Packages
How @lacspace stacks up against the usual dependencies — zod, dinero, jsonwebtoken and more.
CompareLive Playground
Run packages in your browser — slugify, money, case, humanize, color and id, live.
Open playgroundA standard library for the modern web
Ten kits, sixty-three packages, zero runtime dependencies. Import only what you use — every package is isomorphic and tree-shakeable.
Security Kit
Auth, crypto, and hardening — all over Web Crypto, never hand-rolled.
- @lacspace/cryptoAES-256-GCM, PBKDF2, HMAC over Web Crypto
- @lacspace/passwordPBKDF2 hashing with a portable PHC string
- @lacspace/jwtHS256/384/512 with strict expiry/issuer checks
- @lacspace/webauthnPasskeys / FaceID / fingerprint ceremonies
- @lacspace/otpTOTP & HOTP, Google Authenticator compatible
SEO Kit
Configure once with defineSite() → metadata, JSON-LD, sitemap, robots, feeds.
- @lacspace/seoTyped metadata + schema.org JSON-LD builders
- @lacspace/sitemapsitemap.xml, indexes, Next.js sitemaps
- @lacspace/robotsrobots.txt with AI-crawler block presets
- @lacspace/ogDynamic Open Graph share-card images
- @lacspace/rssRSS 2.0, Atom & JSON Feed from one source
React Kit
SSR-safe hooks, state, data fetching and theming — zero-dependency, tiny.
- @lacspace/hooks28 essential SSR-safe hooks
- @lacspace/storeGlobal state in ~1KB, no provider
- @lacspace/queryData fetching with a shared cache (SWR-lite)
- @lacspace/themeSSR-safe dark / light / system theme
- @lacspace/hotkeysCombos, sequences and scopes
App Kit
The pieces every app repeats — validation, forms, money, IDs, dates.
- @lacspace/validateTyped schema validator with zod ergonomics
- @lacspace/formFormData → typed, validated data + honeypot
- @lacspace/moneyInteger minor units — no floating-point bugs
- @lacspace/idUUID v4 / v7, Nano-ID-style, short codes
- @lacspace/markdownSafe Markdown → HTML with GFM
Backend Kit
Server plumbing without the servers — signed URLs, PDFs, webhooks.
- @lacspace/signed-urlHMAC-signed, expiring URLs & magic links
- @lacspace/pdfReal PDFs — invoices, receipts — zero deps
- @lacspace/webhooksSign, deliver & verify webhooks both ways
- @lacspace/idempotencyExactly-once with an idempotency key
- @lacspace/envTyped, validated environment variables
Mail Kit
Send and validate email from a Node backend — no third-party SDK.
- @lacspace/mailerZero-dependency SMTP client over net/tls
- @lacspace/email-templatesResponsive, dark-mode-aware HTML emails
- @lacspace/email-validateSyntax + disposable / role detection
- @lacspace/email-verifyMX lookup + best-effort deliverability
StockKit
Everything a trading app needs — indicators, market math, a paper engine.
- @lacspace/indicatorsStreaming RSI, MACD, EMA, Bollinger, ATR…
- @lacspace/marketP&L, returns, CAGR, XIRR, tick rounding
- @lacspace/market-clockHoliday-aware NSE/BSE trading clock
- @lacspace/paper-tradeHeadless paper-trading engine
Core & Data
The SDK, the HTTP client, analytics, and spreadsheet I/O.
- @lacspace/sdkHigh-level TypeScript SDK for Lacspace
- @lacspace/apiIsomorphic, zero-dependency HTTP client
- @lacspace/authLogin, register, token, refresh flows
- @lacspace/analytics-liteCookieless, privacy-first web analytics
- @lacspace/xlsxWrite real .xlsx with zero dependencies
One command. A finished app.
create-lacspace-app scaffolds a real Next.js 15 + React 19 + Tailwind v4 app — every page filled, SEO and security headers wired, a 26-component UI kit included — in about 0.15 seconds. Then it's a normal app you own.
# install a package
npm i @lacspace/validate @lacspace/money
# or scaffold a whole app
npm create lacspace-app@latest my-app -- --template saas
cd my-app && npm run devBatteries included, dependencies excluded
Everything here is free under the Lacspace Free Licence. Pick a package, read a guide, or scaffold an app — you're one command from shipping.