ngx-np-datepicker 1.0.0 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,24 +1,52 @@
1
- # NpxNpDatepicker
1
+ # Angular Nepali Datepicker
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
3
+ A simple Nepali Date Picker(Bikram Sambat) library in angular with no dependancy.
4
4
 
5
- ## Code scaffolding
5
+ ### Installation
6
6
 
7
- Run `ng generate component component-name --project npx-np-datepicker` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project npx-np-datepicker`.
8
- > Note: Don't forget to add `--project npx-np-datepicker` or else it will be added to the default project in your `angular.json` file.
7
+ ```
8
+ npm install ngx-np-datepicker
9
9
 
10
- ## Build
10
+ ```
11
11
 
12
- Run `ng build npx-np-datepicker` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ ### Demo
13
13
 
14
- ## Publishing
14
+ https://github.com/wwwbijay/angular-nepali-datepicker
15
15
 
16
- After building your library with `ng build npx-np-datepicker`, go to the dist folder `cd dist/npx-np-datepicker` and run `npm publish`.
16
+ ### Note
17
17
 
18
- ## Running unit tests
18
+ This package has no dependancy.
19
19
 
20
- Run `ng test npx-np-datepicker` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
+ ### Usage
21
21
 
22
- ## Further help
22
+ Import the `NepaliDatepickerModule` in your app.module.ts
23
23
 
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
24
+ ```
25
+ import { NepaliDatepickerModule } from 'angular-nepali-datepicker';
26
+
27
+ @NgModule({
28
+ declarations: [
29
+ AppComponent,
30
+ ],
31
+ imports: [
32
+ BrowserModule,
33
+ NepaliDatepickerModule
34
+ ],
35
+ providers: [],
36
+ bootstrap: [AppComponent]
37
+ })
38
+ export class AppModule { }
39
+ ```
40
+ then use `<np-datepicker></np-datepicker>` in your template
41
+ ```
42
+ <np-datepicker></np-datepicker>
43
+ ```
44
+
45
+
46
+ ### Format
47
+
48
+ The supported date format is dd-mm-yyyy
49
+
50
+ ### Keywords
51
+
52
+ ['Angular', 'Typescript', 'Javascript', 'Nepali Datepicker']
package/README.md.bak ADDED
@@ -0,0 +1,24 @@
1
+ # NpxNpDatepicker
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project npx-np-datepicker` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project npx-np-datepicker`.
8
+ > Note: Don't forget to add `--project npx-np-datepicker` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build npx-np-datepicker` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build npx-np-datepicker`, go to the dist folder `cd dist/npx-np-datepicker` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test npx-np-datepicker` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-np-datepicker",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.1.0",
6
6
  "@angular/core": "^13.1.0"
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-np-datepicker",
3
- "version": "0.0.1",
3
+ "version": "1.0.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.1.0",
6
6
  "@angular/core": "^13.1.0"