regexp.prototype.flags (npm): ES6 spec-compliant RegExp.prototype.flags shim.
Keywords: RegExp.prototype.flags|regex|regular expression|ES6|shim|flag|flags|regexp|RegExp#flags|polyfill|es-shim API