The universal runtime, schema, and utility SDK powering the Local Security platform.
Built for Lambdas, Workers, Angular apps, and the edge — this package provides a complete developer surface including typed GraphQL access, secure environment resolution, utility helpers, and integrations with Descope, RapidSOS, AppSync, OpenAI, and more.
- 🔐 Environment resolution via
LocalSecurity
(Node, Workers, Browser) - 🎯 Typed GraphQL models from your Amplify schema
- ⚡ GraphQLService for runtime query/mutation execution
- 🔧 Service wrappers: 3dEye, Clickhouse, Descope, OpenAI, RapidSOS, Twilio etc.
- 🧩 Hundreds of input models, filters, enums, mutations, queries, subscriptions
- 🔁 Cross-runtime polyfills for fetch, crypto, etc.
- 🧰 Utility toolbox for string, date, money, user, and error logic
- 🧵 Optimized for edge and serverless runtimes (Cloudflare Workers, AWS Lambda, Deno, Node, Angular)
npm install @localsecurity/core-js
# or
yarn add @localsecurity/core-js
# or via CDN
https://cdn.jsdelivr.net/npm/@localsecurity/core-js
let mira = new LocalSecurity();
mira.execute(query);