New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pocket-tools/feature-flags-client

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocket-tools/feature-flags-client

Basic Unleash client for pocket feature flags

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Typescript Logger

This repository contains code to quickly set up an unleash client with our logging library. This is basically a wrapper around the unleash client initializer, but it removes a little bit of boilerplate.

The bigger value proposition is that for development and testing, this library provides a mock client which can be bootstrapped with data for testing. Creating it requires a good amount of boilerplate code, so it removes the need for that in your test files.

Usage Notes

The production client will initialize asynchronously and may not be ready immediately when the application is started. Consuming applications should ensure that feature flag values can fall back on sensible defaults.

Mock Examples

See tests for examples of using and seeding the mock client.

FAQs

Package last updated on 06 Jan 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

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