
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@titan-os/sdk
Advanced tools
Titan SDK for TV platforms - Device info, accessibility, and app management.
📖 Official Documentation | 🚀 Getting Started Guide
Note: This is the NPM package for integrating Titan SDK into your applications. For comprehensive guides, examples, and API reference, visit the official documentation.
npm install @titan-os/sdk
import { getTitanSDK } from '@titan-os/sdk';
const sdk = getTitanSDK();
// Wait for SDK to initialize
await sdk.isReady;
// Get device information
const deviceInfo = await sdk.deviceInfo.getDeviceInfo();
console.log('Device:', deviceInfo);
const { getTitanSDK } = require('@titan-os/sdk');
const sdk = getTitanSDK();
// Wait for SDK to initialize
await sdk.isReady;
// Get device information
const deviceInfo = await sdk.deviceInfo.getDeviceInfo();
console.log('Device:', deviceInfo);
<script src="https://sdk.titanos.tv/sdk/sdk.js"></script>
<script>
const sdk = TitanSDK.getTitanSDK();
sdk.isReady.then(async () => {
const deviceInfo = await sdk.deviceInfo.getDeviceInfo();
console.log('Device:', deviceInfo);
});
</script>
Note: For CDN usage, see the official documentation.
Creates a new SDK instance.
Options:
gatewayUrl (string): Custom gateway URL for API calls (optional)Returns: TitanSDK instance
isReady (Promise): Promise that resolves when SDK is readyVERSION (string): SDK versiondeviceInfo.getDeviceInfo(): Get device informationaccessibility.*: Accessibility featuresapps.*: App management featuresThis package includes full TypeScript definitions:
import { getTitanSDK, DeviceInfo } from '@titan-os/sdk';
const sdk = getTitanSDK();
const deviceInfo: DeviceInfo = await sdk.deviceInfo.getDeviceInfo();
If you're migrating from the CDN version to NPM:
// CDN way (for direct HTML integration)
<script src="https://sdk.titanos.tv/sdk/sdk.js"></script>
<script>
const sdk = TitanSDK.getTitanSDK();
</script>
// NPM way (for bundling in your app)
import { getTitanSDK } from '@titan-os/sdk';
const sdk = getTitanSDK();
Note: CDN version is still available and recommended for direct HTML integration. Use NPM package when you need to bundle the SDK with your application.
Apache-2.0
FAQs
TitanOS SDK for TV platforms
The npm package @titan-os/sdk receives a total of 409 weekly downloads. As such, @titan-os/sdk popularity was classified as not popular.
We found that @titan-os/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.