Merged!
From the repository author on the https://github.com/taniarascia/primitive/pull/32#event-21629608381:
This looks great! Thank you for your excellent contribution and ensuring Primitive continues to be useful.
Hopefully other people appreciate and enjoy the contributions. :)