@tsdjai/reverse-sentence

1.0.0 • Public • Published

v# reverse-sentence Reverses the words of a sentence.

Install

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

Dependents (0)

Package Sidebar

Install

npm i @tsdjai/reverse-sentence

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.36 kB

Total Files

3

Last publish

Collaborators

  • tsdjai