0.1.0 • Published 1 year ago
@umair90rb/reverse-sentense v0.1.0
reverse-sentense
Reverses the words of a sentence.
Install
npm install @umair90rb/reverse-sentence
API
require("reverse-sentence") => Function
reverse(sentence) => String
Example
const reverseSentence = require("reverse-sentence"); const sentence = "Hello Beth!"; const reversed = reverseSentence(sentence); console.log(reversed) // Beth! Hello
## License
MIT
0.1.0
1 year ago