{"id":13697545,"url":"https://github.com/techgaun/ad-bs-converter","last_synced_at":"2025-10-23T23:40:47.382Z","repository":{"id":57142107,"uuid":"39310805","full_name":"techgaun/ad-bs-converter","owner":"techgaun","description":"A javascript implementation to convert bikram samvat to anno domini and vice-versa","archived":false,"fork":false,"pushed_at":"2024-02-20T14:40:59.000Z","size":32,"stargazers_count":29,"open_issues_count":6,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T06:34:36.088Z","etag":null,"topics":["anno-domini","bs-converter","date-converter","hacktoberfest","javascript","node","node-module"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-18T19:53:23.000Z","updated_at":"2024-11-26T03:36:58.000Z","dependencies_parsed_at":"2024-02-20T15:54:13.768Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/ad-bs-converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fad-bs-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fad-bs-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fad-bs-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fad-bs-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/ad-bs-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anno-domini","bs-converter","date-converter","hacktoberfest","javascript","node","node-module"],"created_at":"2024-08-02T18:01:00.015Z","updated_at":"2025-10-23T23:40:47.329Z","avatar_url":"https://github.com/techgaun.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# ad-bs-converter [![npm version](https://badge.fury.io/js/ad-bs-converter.svg)](http://badge.fury.io/js/ad-bs-converter) [![Build Status](https://travis-ci.org/techgaun/ad-bs-converter.svg?branch=master)](https://travis-ci.org/techgaun/ad-bs-converter)\nA javascript implementation to convert bikram samvat to anno domini and vice-versa\n\n_If you are looking for ad-bs converter for python, check out [ad-bs-converter.py](https://github.com/techgaun/ad-bs-converter.py)._\n\n### Installation\n```bash\nnpm install ad-bs-converter --save\n```\n\n### Example\n```javascript\nvar adbs = require(\"ad-bs-converter\");\n\nconsole.log(adbs.ad2bs(\"1990/8/10\"))\nconsole.log(adbs.bs2ad(\"2047/4/26\"))\n```\n\noutputs\n\n```javascript\n{ ne: \n   { year: '२०४७',\n     month: '४',\n     day: '२६',\n     strMonth: 'श्रावण',\n     strShortMonth: 'श्रा',\n     dayOfWeek: '५',\n     strDayOfWeek: 'शुक्रवार',\n     strShortDayOfWeek: 'शुक्र',\n     strMinDayOfWeek: 'शु',\n     totalDaysInMonth: '३२'},\n  en: \n   { year: 2047,\n     month: 4,\n     day: 26,\n     strMonth: 'Shrawan',\n     strShortMonth: 'Shra',\n     dayOfWeek: 5,\n     strDayOfWeek: 'Shukrabaar',\n     strShortDayOfWeek: 'Shukra',\n     strMinDayOfWeek: 'Shu',\n     totalDaysInMonth: '32' } }\n{ year: 1990,\n  month: 8,\n  strMonth: 'August',\n  strShortMonth: 'Aug',\n  day: 10,\n  dayOfWeek: 5,\n  strDayOfWeek: 'Friday',\n  strShortDayOfWeek: 'Fri' }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fad-bs-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fad-bs-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fad-bs-converter/lists"}