0.1.0 • Published 3 years ago
@mdshais/reverse-sentence v0.1.0
reverse-sentence
An amazing tool to reverse sentences on the go. 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 Mohammad!";
const reversed = reverseSentence(sentence);
console.log(reversed) // Mohammad! Hello
License
MIT
0.1.0
3 years ago