Skip to content

dilenio/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 @dilenio/reverse-sentence

API

require("reverse-sentence") => function
reverse(sentence) => string

Example

const reverseSentence = require('reverse-sentence');

const sentence = 'Hello Dilenio!';

const reversed = reverseSentence(sentence);

console.log(reversed); // Dilenio! Hello

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published