(str: string)
| 15 | import { readRawPackageJson } from './read-package-json'; |
| 16 | |
| 17 | const underscoreCase = (str: string) => |
| 18 | str |
| 19 | .replace(/(.)([A-Z][a-z]+)/g, '$1_$2') |
| 20 | .replace(/([a-z0-9])([A-Z])/g, '$1_$2') |
| 21 | .toUpperCase(); |
| 22 | |
| 23 | // Why: needs access to Object methods and also needs to be able to match any interface. |
| 24 | type ProxiedObject = object; |
no outgoing calls
no test coverage detected