PHP 8.2.30
Preview: index.js Size: 401 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@dabh/diagnostics/adapters/index.js

var enabled = require('enabled');

/**
 * Creates a new Adapter.
 *
 * @param {Function} fn Function that returns the value.
 * @returns {Function} The adapter logic.
 * @public
 */
module.exports = function create(fn) {
  return function adapter(namespace) {
    try {
      return enabled(namespace, fn());
    } catch (e) { /* Any failure means that we found nothing */ }

    return false;
  };
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
231 B lrw-r--r-- 2026-02-21 00:53:28
Edit Download
401 B lrw-r--r-- 2026-02-21 00:53:30
Edit Download
242 B lrw-r--r-- 2026-02-21 00:53:34
Edit Download
221 B lrw-r--r-- 2026-02-21 00:53:36
Edit Download

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