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

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

About

Reverse a string

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages