1.1.3 • Published 7 years ago

@extra-string/common-suffix v1.1.3

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

Get common suffix of strings.

const commonSuffix = require('@extra-string/common-suffix');
// commonSuffix(<string-1>, <string-2>)

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

extra-string

1.1.3

7 years ago

1.1.2

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago