0.1.0 • Published 1 year ago

@jiwang/reverse-sentence v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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