regexp-id

Returns an identifier based on a RegExp match against an object property's value.

Browse on unpkg