Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 613 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 613 Bytes

join-sentences

$ npm install --save join-sentences
import joinSentences from 'join-sentences';
// const joinSentences = require('join-sentences');

const sentencesArray = [
  'Will it ever stop?',
  "Yo, I don't know",
  "Turn off the lights and I'll glow!",
  'To the extreme, I rock a mic like a vandal,',
  'light up a stage and wax a chump like a candle',
];

console.log(joinSentences(sentencesArray));
// => Will it ever stop? Yo, I don't know. Turn off the lights and I'll glow! To the extreme, I rock a mic like a vandal, light up a stage and wax a chump like a candle.