
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@thoughtspot/embed-sdk
Advanced tools
ThoughtSpot Embed SDK
Via NPM:
npm i @thoughtspot/embed-sdk
The SDK is written in TypeScript and is also provided both as ESM and UMD module, allowing you to use it in a variety of environments, e.g.,
// CommonJS
var TsEmbedSDK = require('tsembed');
// RequireJS (AMD)
define(['tsembed'], function (TsEmbedSDK) {
// ...
});
// Global
var TsEmbedSDK = window.tsembed;
// ESM
import * as TsEmbedSDK from 'tsembed.es';
The ThoughtSpot Embed SDK allows you to embed the ThoughtSpot search experience, pinboards, visualizations or the even full app version.
import { SearchEmbed, AuthType, init } from '@thoughtspot/embed-sdk';
init({
thoughtSpotHost: '<%=tshost%>',
authType: AuthType.None,
});
const searchEmbed = new SearchEmbed(
document.getElementById('ts-embed'),
{
frameParams: {
width: '100%',
height: '100%',
},
});
searchEmbed.render({});
import { PinboardVizEmbed, AuthType, init } from '@thoughtspot/embed-sdk';
init({
thoughtSpotHost: '<%=tshost%>',
authType: AuthType.None,
});
const pinboardEmbed = new PinboardVizEmbed(
document.getElementById('ts-embed'),
{
frameParams: {
width: '100%',
height: '100%',
},
});
pinboardEmbed.render({
pinboardId: '<%=pinboardGUID%>',
vizId: '<%=vizGUID%>'
});
import { AppEmbed, Page, AuthType, init } from '@thoughtspot/embed-sdk';
init({
thoughtSpotHost: '<%=tshost%>',
authType: AuthType.None,
});
const appEmbed = new AppEmbed(
document.getElementById('ts-embed'),
{
frameParams: {
width: '100%',
height: '100%',
},
});
appEmbed.render({
Page.Data
});
FAQs
ThoughtSpot Embed SDK
The npm package @thoughtspot/embed-sdk receives a total of 0 weekly downloads. As such, @thoughtspot/embed-sdk popularity was classified as not popular.
We found that @thoughtspot/embed-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.