Parse '1h30m' style durations to seconds and back — dependency-free.
TypeScript Duration uses only the typescript standard library; there is no service or dependency to install.
duration.ts
Run the TypeScript Duration test next to the implementation for concrete examples.