1.0.0 • Published 3 years ago
time-input-formatter v1.0.0
time-input-formatter
This library contains es5 and es6 implementations in the deliverable and is fully tree-shakable for es6.
export type Format = '12hm' | '12hms' | '24hm' | '24hms';
export type ParsedTime = { valid: boolean, value: string };
import { deriveTimeFormat, Format, ParsedTime } from 'time-input-formatter';
MIT
1.0.0
3 years ago