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

ember-cli-feature-manager

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-feature-manager

The default blueprint for ember-cli addons.

  • 0.0.3-beta
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Ember-cli-feature-manager

Feature Manager addon allows developers to define and turn on/off features for different reasons. It also allows them to test different implementations of a particular feature.

Usage

This addon can only be used by the latest version of ember-cli (0.2.3) You can add the addon into your application with the command below: ember install ember-cli-feature-manager

Setup

This addon reads the setup/configuration data from the ENV.APP of the config/environment.js file. You can specify the names of the service and feature-data using featureManagerService and featureManagerFixturesName attributes respectively. These default to features and FEATURES respectively.

The service name is what get used when injecting the addon into routes, controllers, and components. The feature-data name specifies the array object that contains a list of features. Below is the data format:

[{
	"name": "<string>",
	"flag": "<boolean>",
	"implementations": "<[]>",
	"selected": "<string>"
}, {
	
}
...
]

Ex:

APP: {
    featureManagerService: 'features'
    featureManagerFixtures: 'FEATURES',
    FEATURES: [{
        name: 'search',
        flag: true,
        implementations: ['facetView', 'backend-solr', 'backend-essearch', 'google'],
        selected: 'facetView'
      },{
        name: 'login',
        flag: true
      }]
}

Installation

  • git clone this repository
  • npm install
  • bower install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

TODO

  • Finish the design of how implementation and selected attributes, will be used
  • Write tests
  • write proper documentation

Keywords

FAQs

Package last updated on 24 Aug 2015

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

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