1.0.0 • Published 3 years ago

@heinvg/reverse-sentence v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

reverse-sentence

Reverses the words of a sentence.

Install

npm install @heivg/reverse-sentence

API

require("reverse-sentende") => Function
reverse(sentence) => String

Example

const reverseSentence = require("reverse-sentence");
const sentence = "Hello World!";
const reversed = reverseSentence(sentence);
console.log(reverse) // World! Hello

Licence

MIT