Skip to content

LocalSecurity/core-js

Repository files navigation

@localsecurity/core-js

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.


🚀 Features

  • 🔐 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)

📦 Installation

npm install @localsecurity/core-js
# or
yarn add @localsecurity/core-js
# or via CDN
https://cdn.jsdelivr.net/npm/@localsecurity/core-js

Example Usage

let mira = new LocalSecurity();

mira.execute(query);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published