Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Prosen-Ghosh/string-rev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string-rev

Reverse a string

npm license github-issues

travis-status stars forks

Features

Install

npm install --save string-rev

Usage

const sReverse = require('string-rev');

sReverse('123');
//=>'321'

sReverse('abcdef');
//=> 'fedcba'

sReverse('madam');
//=> 'madam'

sReverse(); // without parametr this function will throw a type error.
//=> TypeError: expects a string got undefined

Author

Prosen Ghosh prosenghosh25@gmail.com

License

  • MIT

Releases

No releases published

Packages

No packages published