Socket
Socket
Sign inDemoInstall

bikram-sambat

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "bikram-sambat",
"version": "0.3.0",
"version": "0.3.1",
"description": "JS utilities for converting between the Nepali Bikram Sambat (Vikram Samvat) and Gregorian (standard European) calendars.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -8,10 +8,17 @@ bikram-sambat.js

```
npm install bikram-sambat
```
npm install bikram-sambat
# Usage
```
require('bikram-sambat');
```
var bs = require('bikram-sambat');
var days_in_baisakh_2000 = bs.daysInMonth(2000, 1);
console.log(bs.str_toBik_euro('2017-03-28'));
> 2073-12-15
console.log(bs.str_toBik_dev('2017-03-28'));
> २०७३-१२-१५
console.log(bs.str_toBik_text('2017-03-28'));
> १५ चैत २०७३
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc