@yoda/manifest

provide device manifest information.

Methods

(inner) get(path, defaults) → {any}

Parameters:
Name Type Description
path string

manifest path to fetch

defaults any

fallbacks if given path is not specified in manifest

Returns:
Type:
any

(inner) isCapabilityEnabled(feature) → {boolean}

Parameters:
Name Type Description
feature string

feature name to be determined

Returns:
Type:
boolean
  • true if feature is enabled

(inner) getDefaultValue(key) → {any}

Parameters:
Name Type Description
key string

default value name to be fetched

Returns:
Type:
any
  • default value