tiny-date-picker
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-beta6 • Public • Published

Tiny Date Picker

A light-weight date picker with zero dependencies.

  • Zero dependencies
  • Roughly 3.5KB minified and gzipped
  • Mobile-friendly/responsive
  • Supports multiple languages
  • TinyDatePicker demo

Installation

npm install --save tiny-date-picker

Usage

// Import the picker
import tinyDatePicker from 'tiny-date-picker';

// Create a date picker and associate it with a textbox.
tinyDatePicker({ input: document.querySelector('input') });

Options

The options are fairly well commented in types.ts.

Previous versions

If you're looking for 3.x docs, they can be found here.

/tiny-date-picker/

    Package Sidebar

    Install

    npm i tiny-date-picker

    Weekly Downloads

    2,565

    Version

    4.0.0-beta6

    License

    MIT

    Unpacked Size

    60.5 kB

    Total Files

    30

    Last publish

    Collaborators

    • chrisdavies