All Projects → techgaun → Ad Bs Converter

techgaun / Ad Bs Converter

A javascript implementation to convert bikram samvat to anno domini and vice-versa

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ad Bs Converter

Json 2 Csv
Convert JSON to CSV *or* CSV to JSON!
Stars: ✭ 210 (+950%)
Mutual labels:  hacktoberfest, node-module
Pully
A simple CLI and library for downloading high quality YouTube videos!
Stars: ✭ 153 (+665%)
Mutual labels:  hacktoberfest, node-module
Manual Node
📗 📒 (PT-BR Tradução) 2020 Edition - Tradução por Christy e Vinicius Dias (https://github.com/ViniciusmDias).
Stars: ✭ 134 (+570%)
Mutual labels:  hacktoberfest, node-module
Node Libcurl
libcurl bindings for Node.js
Stars: ✭ 447 (+2135%)
Mutual labels:  hacktoberfest, node-module
Betterreflection
🔮 Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.
Stars: ✭ 881 (+4305%)
Mutual labels:  hacktoberfest
Swagger Editor
Swagger Editor
Stars: ✭ 7,365 (+36725%)
Mutual labels:  hacktoberfest
Woocommerce
An open source eCommerce plugin for WordPress.
Stars: ✭ 7,473 (+37265%)
Mutual labels:  hacktoberfest
Swift Sdk
📱 The Watson Swift SDK enables developers to quickly add Watson Cognitive Computing services to their Swift applications.
Stars: ✭ 877 (+4285%)
Mutual labels:  hacktoberfest
Wingpanel Indicator Nightlight
A Wingpanel indicator for Night Light
Stars: ✭ 20 (+0%)
Mutual labels:  hacktoberfest
Node Openid Client
OpenID Certified™ Relying Party (OpenID Connect/OAuth 2.0 Client) implementation for Node.js.
Stars: ✭ 887 (+4335%)
Mutual labels:  hacktoberfest
Active Forks
Find active github forks of a repo https://git.io/vSnrC
Stars: ✭ 879 (+4295%)
Mutual labels:  hacktoberfest
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+40440%)
Mutual labels:  node-module
Keto
Global and consistent permission and authorization server with an easy and granular permission language and sub 10-millisecond latency. Based on Google Zanzibar. Ships gRPC and REST APIs. Written in Go.
Stars: ✭ 883 (+4315%)
Mutual labels:  hacktoberfest
Kustomize
Customization of kubernetes YAML configurations
Stars: ✭ 7,880 (+39300%)
Mutual labels:  hacktoberfest
Coursera Financialaid
Stars: ✭ 20 (+0%)
Mutual labels:  hacktoberfest
Go Critic
The most opinionated Go source code linter for code audit.
Stars: ✭ 875 (+4275%)
Mutual labels:  hacktoberfest
Swiftinfo
📊 Extract and analyze the evolution of an iOS app's code.
Stars: ✭ 880 (+4300%)
Mutual labels:  hacktoberfest
Android
📱 Home Assistant Companion for Android
Stars: ✭ 881 (+4305%)
Mutual labels:  hacktoberfest
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-30%)
Mutual labels:  hacktoberfest
Phaservania
Small PhaserJS based Metroidvania-esque project.
Stars: ✭ 14 (-30%)
Mutual labels:  hacktoberfest

ad-bs-converter npm version Build Status

A javascript implementation to convert bikram samvat to anno domini and vice-versa

If you are looking for ad-bs converter for python, check out ad-bs-converter.py.

Installation

npm install ad-bs-converter --save

Example

var adbs = require("ad-bs-converter");

console.log(adbs.ad2bs("1990/8/10"))
console.log(adbs.bs2ad("2047/4/26"))

outputs

{ ne: 
   { year: '२०४७',
     month: '४',
     day: '२६',
     strMonth: 'श्रावण',
     strShortMonth: 'श्रा',
     dayOfWeek: '५',
     strDayOfWeek: 'शुक्रवार',
     strShortDayOfWeek: 'शुक्र',
     strMinDayOfWeek: 'शु',
     totalDaysInMonth: '३२'},
  en: 
   { year: 2047,
     month: 4,
     day: 26,
     strMonth: 'Shrawan',
     strShortMonth: 'Shra',
     dayOfWeek: 5,
     strDayOfWeek: 'Shukrabaar',
     strShortDayOfWeek: 'Shukra',
     strMinDayOfWeek: 'Shu',
     totalDaysInMonth: '32' } }
{ year: 1990,
  month: 8,
  strMonth: 'August',
  strShortMonth: 'Aug',
  day: 10,
  dayOfWeek: 5,
  strDayOfWeek: 'Friday',
  strShortDayOfWeek: 'Fri' }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].