0.1.0 • Published 3 years ago
@satyamthakur30/reverse-string v0.1.0
reverse-sentence
Reverses the words of a sentence.
Install
npm install @satyamthakur30/reverse-sentence
API
require("reverse-sentence") => Function
reverse(sentence) => String
Example
const reverseSentence = require("reverse-sentence");
const sentence = "satyam kumar thakur";
const reversed = reverseSentence(sentence);
console.log(reversed) // thakur kumar satyam"
License
MI
0.1.0
3 years ago