@hirwa_jean_eric/reverse-sentence
v0.1.0
Published
Reverses a sentence
Downloads
3
Readme
reverse-sentence
Reverse the words of a sentence
Install
npm install @hirwa_jean_eric/reverse-sentence
API
require("reverse-sentence") => Function
reverse(sentence) => String
Example
const reverseSentence = require("reverse-sentence");
const sentence = "Hello Hirwa!";
const reversed = reverseSentence(sentence);
console.log(reversed) // Hirwa! Hello
License
MIT