array-to-sentence icon indicating copy to clipboard operation
array-to-sentence copied to clipboard

Join all elements of an array and create a human-readable string

Results 2 array-to-sentence issues
Sort by recently updated
recently updated
newest added

Hey, can't help but notice you disappeared from GitHub for a couple of years. You own a npm package name, `optima`, which redirects to this package. I was wondering if...

Support for the oxford comma. arrayToSentence(['A', 'B'], {oxfordComma: true}) //=> 'A and B' arrayToSentence(['A', 'B', 'C'], {oxfordComma: true}) //=> 'A, B, and C'