@lhaqq/reverse-sentence

0.1.0 • Public • Published

reverse-sentence

Reverses the words of a sentence.

Install

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

Readme

Keywords

none

Package Sidebar

Install

npm i @lhaqq/reverse-sentence

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

1.19 kB

Total Files

3

Last publish

Collaborators

  • lhaqq