UNPKG

data-provider-temporary

Version:

Library that helps with server-to-client synchronization of data

6 lines (5 loc) 159 B
var shared = require('./_shared')('keys'); var uid = require('./_uid'); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); };