
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@isl-lang/isl-stdlib
Advanced tools
ISL Standard Library Registry - Central index and resolver for all stdlib modules
Central registry and import resolver for ISL Standard Library modules.
This package provides:
@isl/stdlib-* importspnpm add @isl-lang/isl-stdlib
import { getModule } from '@isl-lang/isl-stdlib';
const authModule = getModule('stdlib-auth');
console.log(authModule?.provides.behaviors);
// ['Register', 'Login', 'Logout', 'RefreshToken', ...]
import { resolveStdlibImport } from '@isl-lang/isl-stdlib';
const result = resolveStdlibImport('@isl/stdlib-auth/session');
if (!('code' in result)) {
console.log(result.filePath); // 'intents/session.isl'
console.log(result.module.name); // '@isl-lang/stdlib-auth'
}
import { isStdlibImport } from '@isl-lang/isl-stdlib';
isStdlibImport('@isl/stdlib-auth'); // true
isStdlibImport('./local.isl'); // false
import { searchModules, findModulesWithBehavior } from '@isl-lang/isl-stdlib';
// Search by keyword
const authModules = searchModules('authentication');
// Find modules providing a specific behavior
const loginModules = findModulesWithBehavior('Login');
import { resolveDependencyTree } from '@isl-lang/isl-stdlib';
// Get all dependencies in topological order
const deps = resolveDependencyTree('stdlib-saas');
// ['stdlib-auth', 'stdlib-saas']
import { validateRegistry, getRegistryStats } from '@isl-lang/isl-stdlib';
const { valid, errors } = validateRegistry();
if (!valid) {
console.error('Registry errors:', errors);
}
const stats = getRegistryStats();
console.log(`Total modules: ${stats.totalModules}`);
console.log(`Total behaviors: ${stats.totalBehaviors}`);
| Module | Category | Description |
|---|---|---|
stdlib-auth | Security | Authentication & authorization |
stdlib-rate-limit | Security | Rate limiting & throttling |
stdlib-audit | Compliance | Audit logging (SOC2, HIPAA, GDPR) |
stdlib-payments | Business | PCI-compliant payment processing |
stdlib-saas | Business | Multi-tenant SaaS patterns |
stdlib-billing | Business | Subscriptions & metered billing |
stdlib-notifications | Communication | In-app notifications |
stdlib-messaging | Communication | Email, SMS, push |
stdlib-realtime | Communication | WebSockets & pub/sub |
stdlib-files | Storage | File upload & management |
stdlib-cache | Infrastructure | Caching patterns |
stdlib-queue | Infrastructure | Job queues |
stdlib-scheduling | Infrastructure | Cron & scheduled jobs |
stdlib-idempotency | Infrastructure | Request deduplication |
stdlib-events | Architecture | Event sourcing & CQRS |
stdlib-workflow | Architecture | State machines & sagas |
stdlib-search | Data | Full-text search |
stdlib-observability | Operations | Logging, metrics, tracing |
stdlib-analytics | Operations | Product analytics |
stdlib-ai | AI | LLM integration |
The resolver supports multiple import formats:
// Recommended: @isl/ prefix
import { User, Login } from "@isl/stdlib-auth"
// Subpath imports
import { Session } from "@isl/stdlib-auth/session"
// NPM package name
import { User } from "@isl-lang/stdlib-auth"
// Short name (for use statements)
use stdlib-auth
The registry (registry.json) contains:
interface StdlibRegistry {
version: string;
modules: Record<string, StdlibModule>;
categories: Record<string, CategoryInfo>;
importAliases: Record<string, string>;
}
interface StdlibModule {
name: string; // NPM package name
version: string; // Semantic version
description: string;
category: string;
entryPoint: string; // Main ISL file
exports: Record<string, string>; // Subpath -> file mapping
provides: {
entities: string[];
behaviors: string[];
enums: string[];
types: string[];
};
dependencies: string[];
peerDependencies: string[];
keywords: string[];
}
See ADDING_STDLIB_MODULE.md for a complete guide.
Quick checklist:
packages/stdlib-mymodule/intents/ directorypackages/isl-stdlib/registry.jsonpnpm run validate-registry to verify| Function | Description |
|---|---|
getRegistry() | Get the full registry |
getModuleNames() | List all module names |
getModule(name) | Get module by name |
getModulesByCategory(cat) | Get modules in category |
searchModules(keyword) | Search by keyword |
findModulesWithEntity(name) | Find by entity |
findModulesWithBehavior(name) | Find by behavior |
resolveDependencyTree(name) | Get dependencies |
validateRegistry() | Validate registry |
getRegistryStats() | Get statistics |
| Function | Description |
|---|---|
parseImportPath(path) | Parse import into module/subpath |
isStdlibImport(path) | Check if stdlib import |
resolveStdlibImport(path) | Resolve to module/file |
resolveImports(paths) | Resolve multiple imports |
getSuggestions(partial) | Get autocomplete suggestions |
moduleFilesExist(name) | Check if files exist |
MIT
FAQs
ISL Standard Library Registry - Central index and resolver for all stdlib modules
We found that @isl-lang/isl-stdlib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.