1.0.0 • Published 12 months ago

@andressalro/reverse-sentence v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

reverse-sentence

Reverses the words of a sentence.

Install

npm install @npmusername/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

1.0.0

12 months ago