List Packages

pref-name-sort-list

Module that exports a function filtering an array of strings based on a user-provided regex pattern and returning an array of those strings in preferred order - i.e., pattern matches sorted in ascending order of match index.

1.0.3 • Published 8 years ago