771
total weekly downloads
59 packages
lanka
core: Fourteen subsystems, one peer dependency, six extension points.
@lankajs/angular
module: One function — `useLankaVM` — over a signal, and the access tracking core already does.
@lankajs/any-schema
module: For the application that ended up with two schema libraries: one validator that routes by dialect.
@lankajs/arktype
module: The same explicit choice, a third library. Nothing to adapt: arktype speaks Standard Schema.
@lankajs/async
module: Which response may be trusted, and how many requests a burst actually sends.
@lankajs/blob-cache
module: IndexedDB → Cache Storage → memory → direct fetch, with a memory budget and quota eviction.
@lankajs/browser
module: Things with no single API and a fallback for older engines.
@lankajs/collection
module: Sort, filter and paginate on the client without handing React a new array every time.
@lankajs/effect
module: Effect keeps its Standard Schema behind a wrapper function; this holds the wrapper still.
@lankajs/host
module: The two places lanka meets Next, React Router, TanStack Start or Expo: one instance per unit of server work, and one first state per screen.
@lankajs/mmkv
module: The only engine that fills the synchronous half on a device.
@lankajs/nanostores-query
module: For an application already on nanostores: one cache and one subscription model instead of two.
@lankajs/optimistic
module: Two concurrency strategies with real request cancellation.
@lankajs/plugin-bootstrap-steps
plugin: A step receives context, returns it changed, may exit early and redirect.
@lankajs/plugin-devtools
plugin: The data is already collected and shown to nobody.
@lankajs/plugin-graphql
plugin: A request kind that reads the errors array, a gateway that writes query and mutate, and graphql-ws as a stream.
@lankajs/plugin-grpc
plugin: The framing, the trailers and the status codes — with the message codec left to whoever generated it.
@lankajs/plugin-http
plugin: Retry, idempotency, CSRF, credentials, auth refresh and timeout as request middleware.
@lankajs/plugin-prefetch
plugin: SSE > request > route chunk > prefetch — a rule the code enforces.
@lankajs/plugin-relay
plugin: Two applications on one page, each with its own copy of the framework, hear each other's scenarios.
@lankajs/plugin-sse
plugin: SSE transport, bridges into scenarios, and a "came from outside" marker for mutations.
@lankajs/plugin-websocket
plugin: A WebSocket behind the same port SSE uses, plus the half SSE does not have: sending.
@lankajs/react
module: One hook — `useLankaVM` — and the access tracking core already does.
@lankajs/react-native-async-storage
module: The engine an existing application already has installed.
@lankajs/secure-store
module: The one that bends the port: no wipe, no enumeration, two kilobytes, and a restricted key.