![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@silmar/ng-carousel
Advanced tools
[![npm (scoped)](https://img.shields.io/npm/v/@silmar/ng-carousel.svg)](https://www.npmjs.com/package/@silmar/ng-carousel) [![pipeline status](https://gitlab.com/etg-public/silmar-ng-carousel/badges/master/pipeline.svg)](https://gitlab.com/etg-public/silm
Really simple carousel
npm i @silmar/ng-carousel hammerjs
// or
yarn add @silmar/ng-carousel hammerjs
The very basic usage is as follows:
main.ts
// ....
import 'hammerjs';
// ....
app.module.ts
import {BrowserModule} from '@angular/platform-browser';
import {NgModule, HammerModule} from '@angular/core';
import {AppComponent} from './app.component';
import {NgCarouselModule} from '@silmar/ng-carousel';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
HammerModule, // <-- For Angular 9
NgCarouselModule // <-- import the carousel module
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
app.component.html
<!-- this will create a carousel with 2 visible items per slide -->
<si-ng-carousel [visible]="2">
<div *ngFor="let img of gallery" siCarouselItem>
<img [src]="domS.bypassSecurityTrustResourceUrl(img)" style="height: 400px"/>
</div>
</si-ng-carousel>
Visit the demo
FAQs
[![npm (scoped)](https://img.shields.io/npm/v/@silmar/ng-carousel.svg)](https://www.npmjs.com/package/@silmar/ng-carousel) [![pipeline status](https://gitlab.com/etg-public/silmar-ng-carousel/badges/master/pipeline.svg)](https://gitlab.com/etg-public/silm
We found that @silmar/ng-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.