# datebs

> library to convert date from BS to AD and vice versa.

Latest version **0.0.3** (published 2020-08-05) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install datebs
pnpm add datebs
yarn add datebs
bun add datebs
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-08-05 |
| First published | 2020-07-13 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sujit Maharjan |
| Maintainers | shubhajeet |
| Keywords | BS, Date |

## Links

- npm: https://www.npmjs.com/package/datebs
- Repository: https://github.com/shubhajeet/DateBS
- Homepage: https://github.com/shubhajeet/DateBS#readme
- Issues: https://github.com/shubhajeet/DateBS/issues
- npm.io page: https://npm.io/package/datebs

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2020-08-05
- 0.0.2 — 2020-07-13

## README

# DateBS

A javascript library that assists you in converting date from BS to AD and vice versa.

## Google Sheet AddIn
The addons expose following custom function so that date from BS to AD and vice versa. 
- DateToBS(datestring)
- DateToAD(datestring)

## Google App Script Library

ProjectId: M5OVnOjNBAA2Sopb3F1-gozX8b41Gj_r8

Go to Resources > Libraries and add the above library using the above project id.

## DateAPI

You can use our dateapi to convert the date from BS to AD and vice versa.

### Examples

#### Get todays date in BS

```bash
curl -L https://bit.ly/dateapi
```

#### Convert date from BS to AD

```bash
curl -L https://bit.ly/dateapi?dateBS=2077-03-01
```

#### Convert date from AD to BS
```bash
curl -L https://bit.ly/dateapi?dateAD=2020-01-03
```

---
_Source: https://npm.io/package/datebs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
