@time-input-polyfill/utils
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

time-input-polyfill-utils

A library of helper functions designed to make the building of time input polyfill components easier.

When building the React Component version of the polyfill, I realised that there was a huge amount of functionality that could have been shared between the original time input polyfill and the new React component. I didn't really build the original polyfill in a way that made sharing functionality easy though.

This utility library is designed to make as much of the functionality as sharable as possible between different implementations. It also features robust testing using cypress to make sure that no nasty bugs creep their way into the code base.

Installation

Installed through npm:

npm install @time-input-polyfill/utils

View on the npm website.

Testing

npm run start to open the Cypress ui and then you can run the unit tests from there.

npm run test to run the tests in a terminal instead.

Package Sidebar

Install

npm i @time-input-polyfill/utils

Weekly Downloads

27

Version

2.0.0

License

MIT

Unpacked Size

579 kB

Total Files

287

Last publish

Collaborators

  • dan503