Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@sebgroup/green-angular
Advanced tools
Angular components built on top of @sebgroup/chlorophyll.
Angular components with SEB's look and feel.
If you are using the latest version of Angular, you can simply install @sebgroup/green-angular
like this:
// If you are using yarn
yarn install @sebgroup/green-angular --save
// If you are using npm
npm install @sebgroup/green-angular --save
However, because @sebgroup/green-angular
has a peer dependency to @angular/cdk
, and Angular is very picky about which versions go together, if you use an older version of Angular you need to explicitly install the matching version of @angular/cdk
as well.
For example, for Angular 14:
npm install @angular/cdk@~14.0.0 @sebgroup/green-angular --save
Currently, our aim is to support the LTS version of Angular as well as the current latest version.
We recommend that you import NggModule
(or just the module you need for Angular Green) into a shared module eg. SharedModule
that can be imported into other, preferably lazy loaded modules when needed.
import { NggModule } from '@sebgroup/green-angular'
@NgModule({
declarations: [...],
imports: [
...
NggModule
],
exports: [
NggModule
]
})
export class SharedModule {}
We recommend setting up your Angular project to use scss (SASS) for css preprocessing.
Once configured to use scss, it's just a matter of including the scss to your main styles file, typically it would be styles.scss
located at the root of the src
folder unless you've changed it.
{project}/src/styles.scss
// import base styles from @sebgroup/chlorophyll
@use '@sebgroup/chlorophyll/scss';
More examples and use cases coming soon! In the meantime create an issue over at github
FAQs
Angular components built on top of @sebgroup/chlorophyll.
The npm package @sebgroup/green-angular receives a total of 3,558 weekly downloads. As such, @sebgroup/green-angular popularity was classified as popular.
We found that @sebgroup/green-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.