
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
patternfly-ng
Advanced tools
A collection of PatternFly Angular components and other useful things to be shared.
Welcome to PatternFly-Ng. This is a library of common Angular components for use with the PatternFly reference implementation. Below is information on how to get started using PatternFly-ng. If you wish to contribute to PatternFly-ng, please go to our Contributions page.
This example demonstrates using the Angular-cli to get started with PatternFly-ng
ng-cli
and webpacknpm i -g @angular/cli
ng new patternfly-ng-app
cd patternfly-ng-app
ng serve
Install patternfly-ng
npm install patternfly-ng --save
Add patternfly-ng dependencies
patternfly
npm install patternfly --save
src/app/app.module.ts
and addimport { ToastNotificationModule } from 'patternfly-ng/notification';
// Or
import { ToastNotificationModule } from 'patternfly-ng';
...
@NgModule({
...
imports: [ToastNotificationModule, ... ],
...
})
angular.json
and insert a new entry into the styles array "styles": [
"./node_modules/patternfly/dist/css/patternfly.min.css",
"./node_modules/patternfly/dist/css/patternfly-additions.min.css",
"./node_modules/patternfly-ng/dist/css/patternfly-ng.min.css",
"styles.css",
],
src/app/app.component.html
and add<pfng-toast-notification
[header]="'test header'"
[message]="'this is a notification'"
[showClose]="'true'"
[type]="'success'">
</pfng-toast-notification>
angular.json
and insert the following into the options array"options": {
"preserveSymlinks": true,
angular.json
and insert a new entry into the styles array "styles": [
"./node_modules/dragula/dist/dragula.min.css",
"./node_modules/patternfly/dist/css/patternfly.min.css",
"./node_modules/patternfly/dist/css/patternfly-additions.min.css",
"./node_modules/patternfly-ng/dist/css/patternfly-ng.min.css",
"styles.css",
],
angular.json
and insert a new entry into the scripts array "scripts": [
"./node_modules/patternfly/dist/js/patternfly-settings.js"
],
FAQs
A collection of PatternFly Angular components and other useful things to be shared.
The npm package patternfly-ng receives a total of 213 weekly downloads. As such, patternfly-ng popularity was classified as not popular.
We found that patternfly-ng demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.