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

appconfig-toggles

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

appconfig-toggles - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "appconfig-toggles",
"version": "0.0.1",
"version": "0.0.2",
"description": "Make better use of Azure App Configuration with Node",

@@ -5,0 +5,0 @@ "main": "build/src/index.js",

@@ -31,3 +31,4 @@ # appconfig-toggles (ACT): a helper for Azure App Configuration toggles

await act.init();
console.log(act.canUseToggle("SomeToggle"))
console.log(act.canUseToggle("SomeToggle"));
console.log(act.getToggleDescription("SomeToggle"));
}

@@ -38,4 +39,18 @@

## Available methods
### `canUseToggle()`
Check if a toggle is active. This check verifies group access, rollout for this group, and whether the toggle exists at all.
Example: `act.canUseToggle("SomeToggle")`
### `getToggleDescription()`
Get the description for a named toggled. Good if you, for example, would want that to contain data an application can act on.
Example: `act.getToggleDescription("SomeToggle")`
## Install
Install ACT with `npm install appconfig-toggles -S` or `yarn add appconfig-toggles -S`.
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