1.1.3 • Published 5 years ago

@extra-string/common-suffix v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago