PHP 8.2.30
Preview: index.js Size: 277 B
/opt/alt/alt-nodejs14/root/usr/lib/node_modules/npm/node_modules.bundled/defaults/index.js

var clone = require('clone');

module.exports = function(options, defaults) {
  options = options || {};

  Object.keys(defaults).forEach(function(key) {
    if (typeof options[key] === 'undefined') {
      options[key] = clone(defaults[key]);
    }
  });

  return options;
};

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
13 B lrw-r--r-- 2026-02-22 20:40:31
Edit Download
277 B lrw-r--r-- 2026-02-22 20:40:31
Edit Download
1.05 KB lrw-r--r-- 2026-02-22 20:40:31
Edit Download
1.34 KB lrw-r--r-- 2026-02-22 20:40:31
Edit Download
827 B lrw-r--r-- 2026-02-22 20:40:31
Edit Download
1.03 KB lrw-r--r-- 2026-02-22 20:40:31
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).