UNPKG

sails-auth

Version:

Passport-based User Authentication system for sails.js applications.

10 lines (6 loc) 224 B
var getNative = require('./getNative'); /** Native method references. */ var WeakMap = getNative(global, 'WeakMap'); /** Used to store function metadata. */ var metaMap = WeakMap && new WeakMap; module.exports = metaMap;