Skip to content

Reverses a sentence (Repository made to learn Node.JS following the Node Cookbook book)

Notifications You must be signed in to change notification settings

HeinVG/reverse-sentence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reverse-sentence

Reverses the words of a sentence.

Install

npm install @heivg/reverse-sentence

API

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

Example

const reverseSentence = require("reverse-sentence");
const sentence = "Hello World!";
const reversed = reverseSentence(sentence);
console.log(reverse) // World! Hello

Licence

MIT

About

Reverses a sentence (Repository made to learn Node.JS following the Node Cookbook book)

Resources

Stars

Watchers

Forks

Packages

No packages published