import { getAllEnabledFeatureToggle, getFeatureToggleById } from '@iqmetrix/get-all-enabled-feature-toggle-name-keys';
getAllEnabledFeatureToggle()
.then(enabledFeatures => enabledFeatures.forEach(feature=> console.log(feature)))
.catch(console.error)
getFeatureToggleById(12345)
.then(feature => console.log(feature))
.catch(console.error)