0.1.0 • Published 5 years ago
@lhaqq/reverse-sentence v0.1.0
reverse-sentence
Reverses the words of a sentence.
Install
npm install @lhaqq/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
0.1.0
5 years ago