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

@jigglytech/launch-darkly-tools

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jigglytech/launch-darkly-tools

Some tools for launch darkly

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

What

This package right now just does one thing:

Scan a given package for instances of "launched" flags from Launch darkly using their API.

Launch Darkly tells us if a feature flag is launched if the flag is either in production or not turned on for a prolonged period of time. And if all visitors are seeing the same version on/off for that time.

How

To use this package, just install it as a dep using

npm install @jigglytech/launch-darkly-tools

And set up some env vars before you run it, wherever you run it:

LAUNCH_DARKLY_TOOLS_API_KEY This you need to create in the authorization section of launch darkly

LAUNCH_DARKLY_TOOLS_PROJECT This is the project containing your stages

LAUNCH_DARKLY_TOOLS_ENV This is the stage, for example production or next

LAUNCH_DARKLY_TOOLS_SOURCE_FILES_FOLDER This the folder we will use to check for instances of flags. This is relative to where you run this script

LAUNCH_DARKLY_TOOLS_SOURCE_FILES_PATTERN This is the file pattern you would like to check, for example .js. Refer to https://www.npmjs.com/package/find-in-files for docs on the fileFilter argument

The idea would be that you run this script either in something like a git action to stop code rot of feature flags.

How does it look:

On Passing:

passing

On Failing:

passing

FAQs

Package last updated on 05 Dec 2021

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