
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.