UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

9 lines 232 B
export const unless = (path, middleware) => (req, res, next) => { if (path === req.path) { return next(); } else { return middleware(req, res, next); } }; //# sourceMappingURL=unless-middleware.js.map