Socket
Socket
Sign inDemoInstall

@emartech/angular-suite-flipper

Package Overview
Dependencies
5
Maintainers
20
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.3

2

package.json
{
"name": "@emartech/angular-suite-flipper",
"version": "1.0.0",
"version": "1.0.3",
"description": "Angular module for Suite FLipper",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,4 +0,4 @@

# Angular2 Suite Flipper
# Angular Suite Flipper
This is a simple flipper solution for angular2. You should provide the flippers.
This is a simple flipper solution for angular. You should provide the flippers.

@@ -9,3 +9,3 @@ Install

```bash
npm install --save angular2-suite-flipper
npm install --save @emartech/angular-suite-flipper
```

@@ -15,7 +15,14 @@ Setup

provide `flippers` in your bootstrap
```javascript
import { FlipperModule } from '@emartech/angular-suite-flipper';
provide('flippers', { useValue: ['dummy', 'test'] });
@NgModule({
imports: [
BrowserModule,
FlipperModule.create(['dummy', 'test'])
],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule { }
```

@@ -28,8 +35,7 @@

import { IsOnPipe } from 'angular2-suite-flipper';
import { IsOffPipe } from 'angular2-suite-flipper';
import { IsOnPipe } from '@emartech/angular-suite-flipper';
import { IsOffPipe } from '@emartech/angular-suite-flipper';
@Component({
selector: '<sub-app>',
pipes: [IsOnPipe, IsOffPipe],
template: `

@@ -48,3 +54,3 @@ <h1 *ngIf="'dummy' | isOff">With</h1>

import { FlipperService } from 'angular2-suite-flipper';
import { FlipperService } from '@emartech/angular-suite-flipper';

@@ -51,0 +57,0 @@ @Component({

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc