ngx-np-datepicker
TypeScript icon, indicating that this package has built-in type declarations

2.3.1 • Public • Published

Angular Nepali Datepicker

ngx-np-datepicker is an Angular datepicker component that supports the Nepali calendar (Bikram Sambat). It allows users to pick Nepali dates easily, supports form integrations, and is ideal for applications needing a native Nepali date experience.

Demo

Click here to check demo.

Installation

npm install ngx-np-datepicker

Usage

Import the NepaliDatepickerModule in your app.module.ts

import { NepaliDatepickerModule } from 'angular-nepali-datepicker';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    NepaliDatepickerModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

then use <np-datepicker [(ngModel)]="nepaliDate"></np-datepicker> in your template

<np-datepicker></np-datepicker>

Note

This package has no dependency.

Format

The supported date format is dd-mm-yyyy

License

MIT License

🔍 Key Fixes:

  • Fixed date issues related to BS 2081 and 2082.
  • Module import bug fixed.

Package Sidebar

Install

npm i ngx-np-datepicker

Weekly Downloads

144

Version

2.3.1

License

MIT

Unpacked Size

395 kB

Total Files

22

Last publish

Collaborators

  • wwwbijay