oxfordize
v1.0.1
Published
A module to format a list of values into a concatenated string, with the last one separated by an ampersand. For document formatting, mostly.
Downloads
9
Readme
oxen.js
##Pourquoi?
A simple script to create a comma separated list, with the last item being separated by an ampersand (&). So it turns this:
["Red", "Green", "Blue"]
into this:
Red, Green, & Blue
It subscribes to the Oxford Comma, of course. I didn't know of one, so I made it.
##What else? No, nothing else. That's it. Use it if you like.