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