0.1.2 • Published 2 years ago

@test_user11/reverse-sentence v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

reverse-sentence

Reverses the words of a sentence.

Install

npm install @test_user11/reverse-sentence

API

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

Example

const reverseSentence = require("reverse-sentence");
 // or
import reverseSentence from "reverse-sentence";

const sentence = "Hello Beth!"; 
const reversed = reverseSentence(sentence); 
console.log(reversed) // Beth! Hello

License

MIT

0.1.2

2 years ago

0.1.0

2 years ago