@williamowendev/reverse-sentences

4.1.2 • Public • Published

Reverse Sentence

Reverses words of sentence

Install

npm install @npmusername/reverse-sentence

API

const reverseString = require("reverse-sentence")
reverseString(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 @williamowendev/reverse-sentences

Weekly Downloads

4

Version

4.1.2

License

ISC

Unpacked Size

1.3 kB

Total Files

3

Last publish

Collaborators

  • williamowendev