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

@ciscospark/internal-plugin-feature

Package Overview
Dependencies
Maintainers
14
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ciscospark/internal-plugin-feature

Returns the value of the requested feature toggle.

Source
npmnpm
Version
1.21.4
Version published
Weekly downloads
714
184.46%
Maintainers
14
Weekly downloads
 
Created
Source

getFeature

Returns the value of the requested feature toggle.

Parameters

  • keyType string <developer|user|entitlement>
  • key string
  • options Object
    • options.full boolean to get full feature record including metadata.

Returns (string | boolean | number | FeatureModel | null)

setFeature

Issues request to server to set a value for a feature toggle.

Parameters

Returns Promise Refreshes the local device and resolves with the features endpoint's response.

FAQs

Package last updated on 12 Dec 2017

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