UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

6 lines (5 loc) 162 B
var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); };