Oracle Cloud Infrastructure SDK for TypeScript and JavaScript (v2.132.0). This library provides full access to Oracle Cloud Infrastructure services via TypeScript/JavaScript clients. It is actively maintained by Oracle with monthly releases. Includes all OCI services as separate sub-packages (e.g., identity, objectstorage), a common authentication/config module, and support for Node.js 14-20 (TypeScript 4.1.3+). Note: no browser support; requires OCI credentials/configuration. Differentiates from other OCI SDKs with native TypeScript support and runtime-agnostic authentication.
npm install oci-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes OCI Identity client using default config file and lists availability domains.
Update imports: replace 'oci.identity' with 'oci-identity' in package.json and import statements.
Use 'new ConfigFileAuthenticationDetailsProvider(config)' instead of passing user/privateKey directly.
Use Region.US_ASHBURN instead of Region.US_ASHBURN_1.
Do not bundle for browser; use server-side Node.js runtime.
Set client.region = Region.US_ASHBURN_1 or ensure provider has region set.
Use new ConfigFileAuthenticationDetailsProvider(config) after parsing config file.