
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
angular2-feature-toggle
Advanced tools
Your module to handle with feature toggles in Angular2 applications easier.
Your module to handle with feature toggles in Angular2 applications easier.
Install angular2-feature-toggle
module as a project dependency.
$ npm install --save angular2-feature-toggle
After that you just need to import the FeatureToggleModule
into your application and the directive will be accessible in your application.
import { FeatureToggleModule } from 'angular2-feature-toggle';
...
@NgModule({
...
imports: [ FeatureToggleModule ],
...
})
...
<div *featureToggle="true">
condition is true and `featureToggle` is enabled.
</div>
<div *featureToggle="false">
condition is false and `featureToggle` is disabled.
</div>
Run npm test
to execute the unit tests via Karma.
Run npm run build
This package is using the AngularJS commit messages as default way to contribute with commitizen
node package integrated in this repository. If you are not so familiar with the Angular projeto commit messages standard, please commit your contribution using:
$ npm run commit
https://plnkr.co/edit/RepjOclLXM32YbCgC4vv
Wilson Mendes (willmendesneto)
FAQs
Your module to handle with feature toggles in Angular2 applications easier.
The npm package angular2-feature-toggle receives a total of 5 weekly downloads. As such, angular2-feature-toggle popularity was classified as not popular.
We found that angular2-feature-toggle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.