@viniciusm-santos/reverse-sentence
v0.1.0
Published
Reverses a sentence
Downloads
1
Readme
reverse-sentence
Reverses the words of a sentence.
Install
npm install @viniciusm-santos/reverse-sentence
API
require("reverse-sentence") => Function
reverse(sentence) => String
Exemple
const reverseSentence = require("reverse-sentence");
const sentence "Hello World!";
const reversed = reverseSentence(sentence)
console.log(reversed) // World! Hello
License
MIT