common-prefix
Retrieve the common prefix across multiple strings.
Usage
str = common(strings)
For example:
var common ==== 'hello '
License
MIT. See LICENSE.md for details.
Retrieve the common prefix across multiple strings.
str = common(strings)
For example:
var common ==== 'hello '
MIT. See LICENSE.md for details.
npm i common-prefix
28,597
1.1.0
MIT