The official Node.js SDK for Topaz, a modern authorization service. Version 0.0.10 provides early-stage client bindings for managing users, roles, and permissions via the Topaz API. It ships with TypeScript definitions and supports both ESM and CommonJS. As a very early release (pre-1.0), the API is subject to rapid change. Key differentiators include native TypeScript support and a promise-based interface, but users should be cautious about stability and expect breaking changes between minor versions.
npm install topaz-nodeVerified import paths — ran on the pinned version, not inferred.
Initializes the Topaz client with environment variables and fetches a user by ID.
Pin to exact version and review changelog before upgrading.
Use object parameter: client.users.create({ name: '...', email: '...' })Use dynamic import or bundler that handles ESM.
Do not use in browser; intended for Node.js only.
Run 'npm install topaz-node@0.0.10' and verify node_modules.
Use: const Topaz = require('topaz-node').default;Upgrade to v0.0.10: npm install topaz-node@0.0.10
Set environment variable or pass apiKey option in constructor.
No dependency data recorded yet.