summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/pacote/lib/util/cache-key.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/pacote/lib/util/cache-key.js')
-rw-r--r--deps/npm/node_modules/pacote/lib/util/cache-key.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/npm/node_modules/pacote/lib/util/cache-key.js b/deps/npm/node_modules/pacote/lib/util/cache-key.js
new file mode 100644
index 0000000000..157e60b0dd
--- /dev/null
+++ b/deps/npm/node_modules/pacote/lib/util/cache-key.js
@@ -0,0 +1,6 @@
+'use strict'
+
+module.exports = cacheKey
+function cacheKey (type, identifier) {
+ return ['pacote', type, identifier].join(':')
+}