PHP 8.2.30
Preview: index.js Size: 277 B
/opt/alt/alt-nodejs16/root/lib/node_modules/npm/node_modules/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: 4

Name Size Perms Modified Actions
277 B lrw-r--r-- 2026-03-09 06:51:27
Edit Download
1.05 KB lrw-r--r-- 2026-03-09 06:51:27
Edit Download
522 B lrw-r--r-- 2026-03-09 06:51:27
Edit Download
1.03 KB lrw-r--r-- 2026-03-09 06:51:27
Edit Download

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