1.0.0 • Published 3 years ago
rev-sentence v1.0.0
rev-sentence
Reverses the words of a sentence.
Install
npm install @npmusername/reverse-sentenceAPI
require("reverse-sentence") => Function
reverse(sentence) => StringExample
const reverseSentence = require("reverse-sentence");
const sentence = "Hello Beth!";
const reversed = reverseSentence(sentence);
console.log(reversed); // Beth! HelloLicense
MIT
1.0.0
3 years ago