Skip to content

A library of helper functions designed to make the building of time-input-polyfills easier

License

Notifications You must be signed in to change notification settings

agnostack/time-input-polyfill-utils

 
 

Repository files navigation

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.

About

A library of helper functions designed to make the building of time-input-polyfills easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.9%
  • JavaScript 27.4%
  • Other 0.7%