mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
14 lines
262 B
TypeScript
14 lines
262 B
TypeScript
import { StackServerApp } from "@stackframe/js";
|
|
|
|
const stackServerApp = new StackServerApp({
|
|
tokenStore: 'memory',
|
|
});
|
|
|
|
stackServerApp.listUsers().then((users) => {
|
|
console.log(users);
|
|
});
|
|
|
|
stackServerApp.getUser().then((user) => {
|
|
console.log(user);
|
|
});
|