UNPKG

@alfredobaratta/reverse-words

Version:
30 lines (17 loc) 661 B
[![MIT License](https://img.shields.io/github/license/alfredo-baratta/reverse-words)](https://choosealicense.com/licenses/mit/) [![Issues](https://img.shields.io/github/issues/alfredo-baratta/reverse-words)]() # Reverse words Reverse words in a text quickly and easily! ## Installation Install **@alfredobaratta/reverse-words** with npm ```bash npm install @alfredobaratta/reverse-words ``` ## Usage/Examples ```javascript const rw = require("@alfredobaratta/reverse-words"); const reversed = rw.reverseText("test text"); console.log(reversed); ``` ## Authors - [@alfredobaratta](https://www.github.com/alfredo-baratta)