The Core SDK is the front door to the Lacspace platform — and a set of building blocks you can use on their own. It works the same whether you call it from a server, an edge function or the browser.

Four packages

- @lacspace/sdk — the unified, typed platform client.
- @lacspace/api — a zero-dependency HTTP client (axios/ky alternative) with retries.
- @lacspace/auth — sign-in, sessions and tokens.
- @lacspace/analytics — events and product analytics.
Typed, from call to response
import { Lacspace } from '@lacspace/sdk';
const ls = new Lacspace({ key: process.env.LACSPACE_KEY! });
const session = await ls.auth.login(email, password); // typed result
Get started
Browse the SDK at lacspace.com/packages and read the API at lacspace.com/docs. It sits at the centre of the Lacspace ecosystem.
Frequently asked questions
What is the Lacspace Core SDK?
The Core SDK lets you talk to the Lacspace platform from any JavaScript runtime. It’s made of @lacspace/sdk (the unified client), @lacspace/api (a zero-dependency HTTP client), @lacspace/auth (sign-in, sessions, tokens) and @lacspace/analytics (event and product analytics).
Where does it run?
Node, edge runtimes and the browser — it’s isomorphic and built on the platform fetch, so the same code works on your server, in a worker, or in the client.
Can I use @lacspace/api on its own?
Yes — @lacspace/api is a clean, zero-dependency HTTP client (an axios/ky alternative) with typed responses, retries and interceptors. Use it standalone even if you don’t use the rest of the SDK.
Is it typed?
Fully — the SDK ships TypeScript definitions, so calls, params and responses are typed end to end.








