@honki12345/reverse-sentence
v0.1.0
Published
Reverses a sentence.
Downloads
2
Readme
reverse-sentence
Reverses the words of a sentence.
Install
npm install @honki12345/reverse-sentence
API
import reverse from 'reverse-sentence' => Function
reverse(setence) => String
Example
import reverse from 'reverse-sentence';
const sentence = "Hello World!";
const reversed = reverse(sentence);
console.log(reversed) // World! Hello
License
MIT