Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eppo/js-client-sdk-common

Package Overview
Dependencies
Maintainers
8
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eppo/js-client-sdk-common

Common library for Eppo JavaScript SDKs (web, react native, and node)

  • 4.6.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15K
increased by3.45%
Maintainers
8
Weekly downloads
 
Created
Source

Common library for Eppo's JavasScript SDK

Test and lint SDK

Getting Started

Refer to our SDK documentation for how to install and use the SDK.

Local development

To set up the package for local development, run make prepare after cloning the repository

Troubleshooting

  • Jest encountered an unexpected token
Details:

/.../node_modules/@eppo/js-client-sdk-common/node_modules/uuid/dist/esm-browser/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export { default as v1 } from './v1.js';
                                                                                  ^^^^^^
SyntaxError: Unexpected token 'export'

Add the following line to your jest.config.js file: transformIgnorePatterns: ['<rootDir>/node_modules/(?!(@eppo|uuid)/)'],

Installing local package

It may be useful to install the local version of this package as you develop the client SDK or Node SDK. This can be done in two steps:

  1. Open the directory with the client SDK you want to add this library to, and run make prepare
  2. Add the local version of this library to the SDK you are developing by running yarn add --force file:../js-client-sdk-common (this assumes both repositories were cloned into the same directory)

FAQs

Package last updated on 11 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc