0.1.3 • Published 7 years ago

string-commonsuffix v0.1.3

Weekly downloads
16
License
MIT
Repository
github
Last release
7 years ago

string-commonsuffix

NOTE: string-commonsuffix was renamed to @extra-string/common-suffix. NPM

Get common suffix of strings.

const commonSuffix = require('string-commonsuffix');
// commonSuffix(<string-1>, <string-2>)

commonSuffix('peacock', 'hancock');
// 'cock'
commonSuffix('mars', 'tars');
// 'ars'
commonSuffix('chief', 'master');
// ''
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago