# vanillajs-datepicker

> A vanilla JavaScript remake of bootstrap-datepicker for Bulma and other CSS frameworks

Latest version **1.3.4** (published 2023-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install vanillajs-datepicker
pnpm add vanillajs-datepicker
yarn add vanillajs-datepicker
bun add vanillajs-datepicker
```

## Health

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

Positive: has types package; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.4 |
| Published | 2023-08-08 |
| First published | 2019-12-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/vanillajs-datepicker) |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 821 |
| Author | Hidenao Miyamoto |
| Maintainers | mymth |
| Keywords | datepicker, bulma, bootstrap, vanilla, javascript, scss |

## Links

- npm: https://www.npmjs.com/package/vanillajs-datepicker
- Repository: https://github.com/mymth/vanillajs-datepicker
- Homepage: https://github.com/mymth/vanillajs-datepicker#readme
- Issues: https://github.com/mymth/vanillajs-datepicker/issues
- npm.io page: https://npm.io/package/vanillajs-datepicker

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 1.3.4 (latest) — 2023-08-08
- 1.3.3 — 2023-06-05
- 1.3.2 — 2023-05-14
- 1.3.1 — 2023-02-14
- 1.3.0 — 2023-02-12
- 1.2.0 — 2021-12-31
- 1.1.4 — 2021-03-15
- 1.1.3 — 2021-03-08
- 1.1.2 — 2021-01-18
- 1.1.1 — 2020-12-31
- 1.1.0 — 2020-12-24
- 1.0.3 — 2020-05-31
- 1.0.2 — 2020-04-25
- 1.0.1 — 2020-03-12
- 1.0.0 — 2019-12-21

## README

# Vanilla JS Datepicker

A vanilla JavaScript remake of [bootstrap-datepicker](https://github.com/uxsolutions/bootstrap-datepicker) for [Bulma](https://bulma.io) and other CSS frameworks  

This package is written from scratch as ECMAScript modules/[Sass](https://sass-lang.com) stylesheets to reproduce similar usability to bootstrap-datepicker.  
It can work either standalone or with CSS framework (e.g. [Bootstrap](https://getbootstrap.com), [Foundation](https://get.foundation)), but works best with [Bulma](https://bulma.io) as it's developed primarily for Bulma. 

The package also includes pre-built js/css files for those who like to use it directly on browser.

### Features

- Date picker (input-dropdown, inline), date range picker
- Keyboard operation support (navigation by arrow keys, editing on input field)
- i18n support (locales, CSS-based text direction detection)
- Easily customizable to adapt stylesheet for various CSS frameworks
- Dependency free
- Made for modern browsers — no support for IE and Edge Legacy (aka non-Chromium Edge)  
  _** If you need to support Edge Legacy, [Web Components polyfill](https://www.npmjs.com/package/@webcomponents/webcomponentsjs) will allow this library to run on it._
- Lightweight (well, relatively…) — 35kB (minified, uncompressed, 11kB when gzipped)

### Demo

[Live Online Demo](https://raw.githack.com/mymth/vanillajs-datepicker/v1.3.4/demo/)

### Documentation

[Online Docs](https://mymth.github.io/vanillajs-datepicker)


## License

- [MIT](./LICENSE)

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