🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@gigya/api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gigya/api

Gigya API TypeScript Client

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@gigya/api

TypeScript client for Gigya API

Installation

npm install @gigya/api
# or
pnpm add @gigya/api
# or
yarn add @gigya/api

Usage

import { Gigya } from '@gigya/api'

const client = new Gigya({
  BASE: 'https://your-api-endpoint.com'
})

// Use the client...

Development

This package supports both tsc (TypeScript Compiler) and tsup (bundler) for building.

Building

# Using tsc (default - recommended for type preservation)
npm run build

# Or using tsc explicitly
npm run build:tsc

# Or using tsup (alternative - faster builds with bundling)
npm run build:tsup

# Clean build artifacts
npm run clean

Publishing

Before publishing, make sure to:

  • Update the version in the root package.json
  • Test the build:
# Dry run to see what would be published
npm run publish:dry
  • Publish to npm:
# Publish as next tag (for beta/rc versions)
npm run publish:next

# Or publish as latest (for stable releases)
npm run publish:latest

The prepublishOnly hook will automatically clean and rebuild before publishing.

Build Outputs

  • tsc: Generates separate .js and .d.ts files with source maps
  • tsup: Generates bundled ESM and CJS outputs with type declarations

Both methods produce production-ready code suitable for publishing to npm.

Package Exports

This package supports both ESM and CommonJS:

// ESM
import { Gigya } from '@gigya/api'

// CommonJS
const { Gigya } = require('@gigya/api')

License

MIT

Keywords

gigya

FAQs

Package last updated on 17 Oct 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