Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.reduce((acc, c) => ({ ...acc, [c.title]: Router.pathToRegexp(c.path, "i") }), {});
Isomorphic router for JavaScript web applications