sajilo-patro 0.0.0-stage → 1.5.0

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/LICENSE ADDED
@@ -0,0 +1,92 @@
1
+ Nepali Calendar Free Use License
2
+ Version 1.0, November 2026
3
+
4
+ Copyright (c) 2026 Sarthak Sharma. All rights reserved.
5
+
6
+ This license applies to the "Software": the npm packages "sajilo-patro" and
7
+ "@nepali-calendar/nepali-calendar", including their code, type definitions,
8
+ bundled calendar dataset, documentation and any updates published by the
9
+ Licensor. "Licensor" means Sarthak Sharma. "You" means the person or
10
+ organisation using the Software.
11
+
12
+ 1. Free use
13
+
14
+ Subject to the conditions below, the Licensor grants You a worldwide,
15
+ royalty-free, non-exclusive, non-transferable license to:
16
+
17
+ a. install and use the Software for any purpose, including commercial
18
+ purposes, at no cost; and
19
+ b. include the Software as a dependency of applications, websites or
20
+ services that You build, and distribute it as part of them, including in
21
+ bundled, minified or compiled form.
22
+
23
+ 2. Conditions
24
+
25
+ You may not:
26
+
27
+ a. sell, rent, lease or sublicense the Software itself, or charge a fee for
28
+ the Software itself;
29
+ b. redistribute the Software on its own, or publish it, a modified version
30
+ of it, or a fork of it, as a package, library or dataset (for example on
31
+ npm or another registry);
32
+ c. extract the calendar dataset and offer it as a standalone dataset, file
33
+ or API product;
34
+ d. remove or alter copyright, license or attribution notices, including
35
+ those in THIRD_PARTY_NOTICES.md;
36
+ e. claim the Software as your own, or use the Licensor's name, or the names
37
+ "Nepali Calendar" or "sajilo-patro", to suggest endorsement of your product
38
+ without written permission.
39
+
40
+ Changes made automatically by build tools (bundling, minification,
41
+ tree-shaking, transpilation) are permitted under section 1(b).
42
+
43
+ 3. Third-party components
44
+
45
+ The Software includes third-party code and data that are licensed under
46
+ their own terms (MIT and Apache-2.0), reproduced in THIRD_PARTY_NOTICES.md.
47
+ Those terms apply to those components and take precedence over this
48
+ license for them.
49
+
50
+ 4. Calendar data
51
+
52
+ The Software is not an official government calendar and is not endorsed by
53
+ the Government of Nepal. Dates, holidays and calculated tithi may contain
54
+ errors. Each date carries a verification status. Confirm dates with the
55
+ official notice before making legal, financial, payroll or other important
56
+ decisions.
57
+
58
+ 5. Ownership and reserved rights
59
+
60
+ The Software is licensed, not sold. The Licensor keeps all rights not
61
+ expressly granted in this license, including the right to offer other
62
+ products, versions, themes or services under different terms.
63
+
64
+ 6. No warranty
65
+
66
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68
+ FITNESS FOR A PARTICULAR PURPOSE, ACCURACY AND NONINFRINGEMENT.
69
+
70
+ 7. Limitation of liability
71
+
72
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL THE LICENSOR BE
73
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
74
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
75
+ SOFTWARE, ITS DATA, OR THE USE OF OR OTHER DEALINGS IN THE SOFTWARE.
76
+
77
+ 8. Termination
78
+
79
+ This license ends automatically if You break its conditions. If that
80
+ happens, You must stop using and distributing the Software. Sections 4, 6
81
+ and 7 continue to apply.
82
+
83
+ 9. Changes to this license
84
+
85
+ The Licensor may publish new versions of this license. Each version of the
86
+ Software is governed by the license included with it.
87
+
88
+ 10. Governing law
89
+
90
+ This license is governed by the laws of Nepal.
91
+
92
+ Contact: ssarthakxd@gmail.com · https://sarthaksharma.com.np/contact
package/README.md CHANGED
@@ -1,3 +1,44 @@
1
- # Temporary Holding Version
1
+ # sajilo-patro
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **सजिलो पात्रो** (*sajilo patro*) means "easy calendar" in Nepali. It is a free **Nepali patro** (Nepali calendar) package for JavaScript and TypeScript.
4
+
5
+ Website and documentation: https://nepali-calendar.sarthaksharma.com.np
6
+
7
+ `sajilo-patro` is the short, easy-to-remember name for [`@nepali-calendar/nepali-calendar`](https://www.npmjs.com/package/@nepali-calendar/nepali-calendar), a Bikram Sambat (BS) calendar toolkit that is **free to use, including commercially**:
8
+
9
+ - offline AD ↔ BS conversion
10
+ - Government of Nepal public holidays
11
+ - working-day and payroll calendars
12
+ - calculated tithi
13
+ - Nepali localization
14
+
15
+ Both names install the same code at the same version.
16
+
17
+ ```bash
18
+ npm install sajilo-patro
19
+ ```
20
+
21
+ ```ts
22
+ import { NepaliCalendar } from "sajilo-patro";
23
+ // CommonJS: const { NepaliCalendar } = require("sajilo-patro");
24
+
25
+ const calendar = new NepaliCalendar(); // Saturday is the weekly holiday by default
26
+
27
+ calendar.convertToBS("2026-11-06").bs.iso; // "2083-07-20"
28
+ calendar.convertToAD({ year: 2083, month: 7, day: 21 }).ad.iso; // "2026-11-07"
29
+
30
+ const kartik = await calendar.getMonth(2083, 7);
31
+ const { workingDays } = await calendar.getWorkingDays({ year: 2083, month: 7 }); // 14
32
+ ```
33
+
34
+ Node.js 20 or newer. Also works in modern browsers and bundlers.
35
+ ESM and CommonJS builds with TypeScript declarations.
36
+ Zero runtime dependencies. The dataset is bundled, so conversion works offline.
37
+
38
+ Options are validated at runtime, shared data is immutable, and remote datasets are loaded over HTTPS with size limits and full validation.
39
+
40
+ Configuration, the API reference and data-accuracy notes are on the [@nepali-calendar/nepali-calendar](https://www.npmjs.com/package/@nepali-calendar/nepali-calendar) page.
41
+
42
+ **Licence:** free to use, including commercially, under the Nepali Calendar Free Use License (see `LICENSE`). Third-party licences are in `THIRD_PARTY_NOTICES.md`.
43
+
44
+ **Contact:** ssarthakxd@gmail.com · https://sarthaksharma.com.np/contact
@@ -0,0 +1,335 @@
1
+ # Third-party notices
2
+
3
+ This project includes code and data from the projects below. Their licences are reproduced in full.
4
+ These components are used under their own licences, which permit their use in this free-to-use (closed-source) software as long as these notices are kept. The project's own licence is in [LICENSE](LICENSE).
5
+
6
+ | Component | Version | Licence | Used for | Where |
7
+ |---|---|---|---|---|
8
+ | [astronomy-engine](https://github.com/cosinekitty/astronomy) | 2.1.19 | MIT | Sun and Moon positions for calculated tithi | Bundled into the npm package build (`dist/`) |
9
+ | [nepali-date-converter](https://github.com/subeshb1/Nepali-Date) | 3.4.2 | MIT | BS month-length table, BS 2000–2090 | `data/calendar/month-lengths.json` (and the bundled dataset) |
10
+ | [bikram-sambat](https://github.com/medic/bikram-sambat) | 1.8.1 | Apache-2.0 | BS month-length table, BS 1970–2090, and epoch | `data/calendar/month-lengths.json` (and the bundled dataset) |
11
+ | [Lucide](https://lucide.dev) icons | v1.70.0 (SVG sources) | ISC (some icons MIT, from Feather) | Website interface icons (the logo is the project's own artwork, not Lucide) | `apps/website/components/icons.tsx` (website only, not in the npm package) |
12
+
13
+ The month-length values were extracted as data (no code was copied) and cross-checked against
14
+ each other and against Government of Nepal notices; see `docs/DATA_ACCURACY.md`. They were not
15
+ modified except where noted in `data/calendar/month-lengths.json` (no modifications so far).
16
+
17
+ Holiday data is transcribed from public notices of the Government of Nepal, Ministry of Home
18
+ Affairs (Nepal Rajpatra, Part 5). See `data/metadata/sources.json` and `docs/DATA_SOURCE.md`.
19
+ This project is not affiliated with or endorsed by the Government of Nepal.
20
+
21
+ ---
22
+
23
+ ## astronomy-engine
24
+
25
+ MIT License
26
+
27
+ Copyright (c) 2019-2023 Don Cross <cosinekitty@gmail.com>
28
+
29
+ Permission is hereby granted, free of charge, to any person obtaining a copy
30
+ of this software and associated documentation files (the "Software"), to deal
31
+ in the Software without restriction, including without limitation the rights
32
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33
+ copies of the Software, and to permit persons to whom the Software is
34
+ furnished to do so, subject to the following conditions:
35
+
36
+ The above copyright notice and this permission notice shall be included in all
37
+ copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ SOFTWARE.
46
+
47
+ ---
48
+
49
+ ## nepali-date-converter
50
+
51
+ MIT License
52
+
53
+ Copyright (c) 2020 Subesh Bhandari <subeshb1@gmail.com>
54
+
55
+ Permission is hereby granted, free of charge, to any person obtaining a copy
56
+ of this software and associated documentation files (the "Software"), to deal
57
+ in the Software without restriction, including without limitation the rights
58
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
59
+ copies of the Software, and to permit persons to whom the Software is
60
+ furnished to do so, subject to the following conditions:
61
+
62
+ The above copyright notice and this permission notice shall be included in all
63
+ copies or substantial portions of the Software.
64
+
65
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
66
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
67
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
68
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
69
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
71
+ SOFTWARE.
72
+
73
+ ---
74
+
75
+ ## bikram-sambat
76
+
77
+ Copyright the bikram-sambat contributors (https://github.com/medic/bikram-sambat).
78
+ Licensed under the Apache License, Version 2.0. The upstream project has no NOTICE file.
79
+
80
+ ```text
81
+ Apache License
82
+ Version 2.0, January 2004
83
+ http://www.apache.org/licenses/
84
+
85
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
86
+
87
+ 1. Definitions.
88
+
89
+ "License" shall mean the terms and conditions for use, reproduction,
90
+ and distribution as defined by Sections 1 through 9 of this document.
91
+
92
+ "Licensor" shall mean the copyright owner or entity authorized by
93
+ the copyright owner that is granting the License.
94
+
95
+ "Legal Entity" shall mean the union of the acting entity and all
96
+ other entities that control, are controlled by, or are under common
97
+ control with that entity. For the purposes of this definition,
98
+ "control" means (i) the power, direct or indirect, to cause the
99
+ direction or management of such entity, whether by contract or
100
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
101
+ outstanding shares, or (iii) beneficial ownership of such entity.
102
+
103
+ "You" (or "Your") shall mean an individual or Legal Entity
104
+ exercising permissions granted by this License.
105
+
106
+ "Source" form shall mean the preferred form for making modifications,
107
+ including but not limited to software source code, documentation
108
+ source, and configuration files.
109
+
110
+ "Object" form shall mean any form resulting from mechanical
111
+ transformation or translation of a Source form, including but
112
+ not limited to compiled object code, generated documentation,
113
+ and conversions to other media types.
114
+
115
+ "Work" shall mean the work of authorship, whether in Source or
116
+ Object form, made available under the License, as indicated by a
117
+ copyright notice that is included in or attached to the work
118
+ (an example is provided in the Appendix below).
119
+
120
+ "Derivative Works" shall mean any work, whether in Source or Object
121
+ form, that is based on (or derived from) the Work and for which the
122
+ editorial revisions, annotations, elaborations, or other modifications
123
+ represent, as a whole, an original work of authorship. For the purposes
124
+ of this License, Derivative Works shall not include works that remain
125
+ separable from, or merely link (or bind by name) to the interfaces of,
126
+ the Work and Derivative Works thereof.
127
+
128
+ "Contribution" shall mean any work of authorship, including
129
+ the original version of the Work and any modifications or additions
130
+ to that Work or Derivative Works thereof, that is intentionally
131
+ submitted to Licensor for inclusion in the Work by the copyright owner
132
+ or by an individual or Legal Entity authorized to submit on behalf of
133
+ the copyright owner. For the purposes of this definition, "submitted"
134
+ means any form of electronic, verbal, or written communication sent
135
+ to the Licensor or its representatives, including but not limited to
136
+ communication on electronic mailing lists, source code control systems,
137
+ and issue tracking systems that are managed by, or on behalf of, the
138
+ Licensor for the purpose of discussing and improving the Work, but
139
+ excluding communication that is conspicuously marked or otherwise
140
+ designated in writing by the copyright owner as "Not a Contribution."
141
+
142
+ "Contributor" shall mean Licensor and any individual or Legal Entity
143
+ on behalf of whom a Contribution has been received by Licensor and
144
+ subsequently incorporated within the Work.
145
+
146
+ 2. Grant of Copyright License. Subject to the terms and conditions of
147
+ this License, each Contributor hereby grants to You a perpetual,
148
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
149
+ copyright license to reproduce, prepare Derivative Works of,
150
+ publicly display, publicly perform, sublicense, and distribute the
151
+ Work and such Derivative Works in Source or Object form.
152
+
153
+ 3. Grant of Patent License. Subject to the terms and conditions of
154
+ this License, each Contributor hereby grants to You a perpetual,
155
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
156
+ (except as stated in this section) patent license to make, have made,
157
+ use, offer to sell, sell, import, and otherwise transfer the Work,
158
+ where such license applies only to those patent claims licensable
159
+ by such Contributor that are necessarily infringed by their
160
+ Contribution(s) alone or by combination of their Contribution(s)
161
+ with the Work to which such Contribution(s) was submitted. If You
162
+ institute patent litigation against any entity (including a
163
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
164
+ or a Contribution incorporated within the Work constitutes direct
165
+ or contributory patent infringement, then any patent licenses
166
+ granted to You under this License for that Work shall terminate
167
+ as of the date such litigation is filed.
168
+
169
+ 4. Redistribution. You may reproduce and distribute copies of the
170
+ Work or Derivative Works thereof in any medium, with or without
171
+ modifications, and in Source or Object form, provided that You
172
+ meet the following conditions:
173
+
174
+ (a) You must give any other recipients of the Work or
175
+ Derivative Works a copy of this License; and
176
+
177
+ (b) You must cause any modified files to carry prominent notices
178
+ stating that You changed the files; and
179
+
180
+ (c) You must retain, in the Source form of any Derivative Works
181
+ that You distribute, all copyright, patent, trademark, and
182
+ attribution notices from the Source form of the Work,
183
+ excluding those notices that do not pertain to any part of
184
+ the Derivative Works; and
185
+
186
+ (d) If the Work includes a "NOTICE" text file as part of its
187
+ distribution, then any Derivative Works that You distribute must
188
+ include a readable copy of the attribution notices contained
189
+ within such NOTICE file, excluding those notices that do not
190
+ pertain to any part of the Derivative Works, in at least one
191
+ of the following places: within a NOTICE text file distributed
192
+ as part of the Derivative Works; within the Source form or
193
+ documentation, if provided along with the Derivative Works; or,
194
+ within a display generated by the Derivative Works, if and
195
+ wherever such third-party notices normally appear. The contents
196
+ of the NOTICE file are for informational purposes only and
197
+ do not modify the License. You may add Your own attribution
198
+ notices within Derivative Works that You distribute, alongside
199
+ or as an addendum to the NOTICE text from the Work, provided
200
+ that such additional attribution notices cannot be construed
201
+ as modifying the License.
202
+
203
+ You may add Your own copyright statement to Your modifications and
204
+ may provide additional or different license terms and conditions
205
+ for use, reproduction, or distribution of Your modifications, or
206
+ for any such Derivative Works as a whole, provided Your use,
207
+ reproduction, and distribution of the Work otherwise complies with
208
+ the conditions stated in this License.
209
+
210
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
211
+ any Contribution intentionally submitted for inclusion in the Work
212
+ by You to the Licensor shall be under the terms and conditions of
213
+ this License, without any additional terms or conditions.
214
+ Notwithstanding the above, nothing herein shall supersede or modify
215
+ the terms of any separate license agreement you may have executed
216
+ with Licensor regarding such Contributions.
217
+
218
+ 6. Trademarks. This License does not grant permission to use the trade
219
+ names, trademarks, service marks, or product names of the Licensor,
220
+ except as required for reasonable and customary use in describing the
221
+ origin of the Work and reproducing the content of the NOTICE file.
222
+
223
+ 7. Disclaimer of Warranty. Unless required by applicable law or
224
+ agreed to in writing, Licensor provides the Work (and each
225
+ Contributor provides its Contributions) on an "AS IS" BASIS,
226
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
227
+ implied, including, without limitation, any warranties or conditions
228
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
229
+ PARTICULAR PURPOSE. You are solely responsible for determining the
230
+ appropriateness of using or redistributing the Work and assume any
231
+ risks associated with Your exercise of permissions under this License.
232
+
233
+ 8. Limitation of Liability. In no event and under no legal theory,
234
+ whether in tort (including negligence), contract, or otherwise,
235
+ unless required by applicable law (such as deliberate and grossly
236
+ negligent acts) or agreed to in writing, shall any Contributor be
237
+ liable to You for damages, including any direct, indirect, special,
238
+ incidental, or consequential damages of any character arising as a
239
+ result of this License or out of the use or inability to use the
240
+ Work (including but not limited to damages for loss of goodwill,
241
+ work stoppage, computer failure or malfunction, or any and all
242
+ other commercial damages or losses), even if such Contributor
243
+ has been advised of the possibility of such damages.
244
+
245
+ 9. Accepting Warranty or Additional Liability. While redistributing
246
+ the Work or Derivative Works thereof, You may choose to offer,
247
+ and charge a fee for, acceptance of support, warranty, indemnity,
248
+ or other liability obligations and/or rights consistent with this
249
+ License. However, in accepting such obligations, You may act only
250
+ on Your own behalf and on Your sole responsibility, not on behalf
251
+ of any other Contributor, and only if You agree to indemnify,
252
+ defend, and hold each Contributor harmless for any liability
253
+ incurred by, or claims asserted against, such Contributor by reason
254
+ of your accepting any such warranty or additional liability.
255
+
256
+ END OF TERMS AND CONDITIONS
257
+
258
+ APPENDIX: How to apply the Apache License to your work.
259
+
260
+ To apply the Apache License to your work, attach the following
261
+ boilerplate notice, with the fields enclosed by brackets "[]"
262
+ replaced with your own identifying information. (Don't include
263
+ the brackets!) The text should be enclosed in the appropriate
264
+ comment syntax for the file format. We also recommend that a
265
+ file or class name and description of purpose be included on the
266
+ same "printed page" as the copyright notice for easier
267
+ identification within third-party archives.
268
+
269
+ Copyright [yyyy] [name of copyright owner]
270
+
271
+ Licensed under the Apache License, Version 2.0 (the "License");
272
+ you may not use this file except in compliance with the License.
273
+ You may obtain a copy of the License at
274
+
275
+ http://www.apache.org/licenses/LICENSE-2.0
276
+
277
+ Unless required by applicable law or agreed to in writing, software
278
+ distributed under the License is distributed on an "AS IS" BASIS,
279
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
280
+ See the License for the specific language governing permissions and
281
+ limitations under the License.
282
+ ```
283
+
284
+ ---
285
+
286
+ ## Lucide (website interface icons)
287
+
288
+ Used by the website only. Paths are unmodified copies of the SVG sources at
289
+ https://github.com/lucide-icons/lucide (icons used: calendar-days, search, chevron-right, arrow-right, menu, x, arrow-left-right, party-popper, briefcase-business, languages, moon-star, cloud-download, shield-check, book-open, heart, lightbulb, terminal, calendar-check).
290
+
291
+ ```text
292
+ ISC License
293
+
294
+ Copyright (c) 2026 Lucide Icons and Contributors
295
+
296
+ Permission to use, copy, modify, and/or distribute this software for any
297
+ purpose with or without fee is hereby granted, provided that the above
298
+ copyright notice and this permission notice appear in all copies.
299
+
300
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
301
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
302
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
303
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
304
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
305
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
306
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
307
+
308
+ ---
309
+
310
+ The following Lucide icons are derived from the Feather project:
311
+
312
+ airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
313
+
314
+ The MIT License (MIT) (for the icons listed above)
315
+
316
+ Copyright (c) 2013-present Cole Bemis
317
+
318
+ Permission is hereby granted, free of charge, to any person obtaining a copy
319
+ of this software and associated documentation files (the "Software"), to deal
320
+ in the Software without restriction, including without limitation the rights
321
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
322
+ copies of the Software, and to permit persons to whom the Software is
323
+ furnished to do so, subject to the following conditions:
324
+
325
+ The above copyright notice and this permission notice shall be included in all
326
+ copies or substantial portions of the Software.
327
+
328
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
329
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
330
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
331
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
332
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
333
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
334
+ SOFTWARE.
335
+ ```
package/index.cjs ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // `sajilo-patro` is the short name for @nepali-calendar/nepali-calendar. It re-exports it unchanged.
3
+ module.exports = require("@nepali-calendar/nepali-calendar");
package/index.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from "@nepali-calendar/nepali-calendar";
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@nepali-calendar/nepali-calendar";
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // `sajilo-patro` is the short name for @nepali-calendar/nepali-calendar. It re-exports it unchanged.
2
+ export * from "@nepali-calendar/nepali-calendar";
package/package.json CHANGED
@@ -1,6 +1,78 @@
1
1
  {
2
2
  "name": "sajilo-patro",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.5.0",
4
+ "description": "Sajilo Patro (सजिलो पात्रो): easy Nepali patro / Nepali calendar for JavaScript and TypeScript. Offline BS ↔ AD date converter, Nepal public holidays, working days, payroll and tithi. Short name for @nepali-calendar/nepali-calendar.",
5
+ "keywords": [
6
+ "sajilo-patro",
7
+ "sajilo patro",
8
+ "nepali patro",
9
+ "nepali-patro",
10
+ "patro",
11
+ "nepali calendar",
12
+ "nepali date",
13
+ "nepali date converter",
14
+ "bikram sambat",
15
+ "bs to ad",
16
+ "ad to bs",
17
+ "nepal",
18
+ "nepali",
19
+ "nepal public holidays",
20
+ "nepali holidays",
21
+ "nepali calendar api",
22
+ "nepali payroll calendar",
23
+ "tithi",
24
+ "calendar",
25
+ "date converter",
26
+ "typescript"
27
+ ],
28
+ "license": "SEE LICENSE IN LICENSE",
29
+ "homepage": "https://nepali-calendar.sarthaksharma.com.np",
30
+ "author": {
31
+ "name": "Sarthak Sharma",
32
+ "email": "ssarthakxd@gmail.com",
33
+ "url": "https://sarthaksharma.com.np"
34
+ },
35
+ "bugs": {
36
+ "email": "ssarthakxd@gmail.com",
37
+ "url": "https://sarthaksharma.com.np/contact"
38
+ },
39
+ "type": "module",
40
+ "sideEffects": false,
41
+ "main": "./index.cjs",
42
+ "module": "./index.js",
43
+ "types": "./index.d.ts",
44
+ "exports": {
45
+ ".": {
46
+ "import": {
47
+ "types": "./index.d.ts",
48
+ "default": "./index.js"
49
+ },
50
+ "require": {
51
+ "types": "./index.d.cts",
52
+ "default": "./index.cjs"
53
+ }
54
+ },
55
+ "./package.json": "./package.json"
56
+ },
57
+ "files": [
58
+ "index.js",
59
+ "index.cjs",
60
+ "index.d.ts",
61
+ "index.d.cts",
62
+ "README.md",
63
+ "LICENSE",
64
+ "THIRD_PARTY_NOTICES.md"
65
+ ],
66
+ "engines": {
67
+ "node": ">=20"
68
+ },
69
+ "scripts": {
70
+ "prepack": "node ../../scripts/copy-package-files.mjs"
71
+ },
72
+ "dependencies": {
73
+ "@nepali-calendar/nepali-calendar": "1.5.0"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ }
78
+ }