Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shared-key.js 210B

123456789
  1. 'use strict';
  2. var shared = require('../internals/shared');
  3. var uid = require('../internals/uid');
  4. var keys = shared('keys');
  5. module.exports = function (key) {
  6. return keys[key] || (keys[key] = uid(key));
  7. };