_shared-key.js 159 B

123456
  1. var shared = require('./_shared')('keys');
  2. var uid = require('./_uid');
  3. module.exports = function (key) {
  4. return shared[key] || (shared[key] = uid(key));
  5. };