@ciscospark/plugin-feature

0.10.3 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.10.3
    2
    • latest

Version History

Package Sidebar

Install

npm i @ciscospark/plugin-feature

Weekly Downloads

84

Version

0.10.3

License

MIT

Last publish

Collaborators