0.1.0 • Published 3 years ago
@juan1991/reverse-sentence v0.1.0
reverse-sentence
Reverses the words of a sentence.
Install
npm install @juan1991/reverse-sentence
API
require('reverse') => 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
0.1.0
3 years ago