You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@sigmacomputing/node-embed-sdk

Package Overview
Dependencies
Maintainers
157
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigmacomputing/node-embed-sdk

Node.js SDK for Sigma Computing with encryption/decryption utilities

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
3.8K
12.65%
Maintainers
157
Weekly downloads
 
Created
Source

Sigma Node.js Embed SDK

This package provides Node.js utilities for working with Sigma Computing's Embed API.

Getting Started

To use the node-embed-sdk in your project, you can install it using your node package manager.

Using npm:

npm install @sigmacomputing/node-embed-sdk

yarn:

yarn add @sigmacomputing/node-embed-sdk

pnpm:

pnpm add @sigmacomputing/node-embed-sdk

Features

Token Encryption and Decryption

The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption:

import { encrypt, decrypt } from '@sigmacomputing/node-embed-sdk';

// Encrypt an OAuth token
const encryptedToken = encrypt(
  'your-embed-secret',
  'your-oauth-token'
);

// Decrypt an encrypted token
const decryptedToken = decrypt(
  'your-embed-secret',
  encryptedToken
);

Keywords

embed

FAQs

Package last updated on 15 May 2025

Did you know?

Socket

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.

Install

Related posts