
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ngs-chip-container
Advanced tools
Smart Chip Container to restrict and beautifully show extra chips as one chip with tooltip
This Library introduces an Intelligent way to hold Material Chips to make it only take the space needed.

Run npm install ngs-chip-container@latest to install the latest version of Ngs Chip Container.
@NgModule({
imports: [
NgsChipContainerModule.forRoot({
maxChipCount: 3, // Default Number of chips to be shown
tooltipLinebreak: true, // Default line break configuration for Tooltips
maxCharCount: 3, // Default Number of characters for chips to be shown
expandable: true // More chip will be expandable on click
})
]
})
@NgModule({
imports: [
NgsChipContainerModule
]
})
<mat-chip-list>
<ngs-chip-container [maxChipCount]="3" tooltipLinebreak expandable> // optional component specific configuration
<mat-chip *ngsChip="Name1">{{Name1}}</mat-chip>
<mat-chip *ngsChip="Name2">{{Name2}}</mat-chip>
<mat-chip *ngsChip="Name3">{{Name3}}</mat-chip>
<mat-chip *ngsChip="Name4">{{Name4}}</mat-chip>
</ngs-chip-container>
</mat-chip-list>
<mat-chip-list>
<ngs-chip-container [maxCharCount]="50"> // optional component specific configuration
<ng-container *ngFor="let name of Names">
<mat-chip *ngsChip="name">{{name}}</mat-chip>
</ng-container>
</ngs-chip-container>
</mat-chip-list>
Please contact me via filing an Issue or directly E-mail at sachithrukshanmail@gmail.com.
FAQs
Smart Chip Container to restrict and beautifully show extra chips as one chip with tooltip
We found that ngs-chip-container 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.