Parses CSS transitions into an object.
With npm:
npm install --save parse-css-transition
With yarn:
yarn add parse-css-transition
import parseCssTransition from 'parse-css-transition';
parseCssTransition('color 2s ease 100ms');
// {
// name: 'color',
// duration: 2000,
// timingFunction: 'ease',
// delay: 100
// }