The space after the number is optional so you can also write 1ms instead of 1 ms. In addition to that it also accepts numbers and strings which only includes
numbers and we assume that these are always in milliseconds.
License
MIT
This module is heavily inspired by the ms module which is also licensed under
MIT. If you also need to transform numbers back in to strings I suggest you look
at that library.