SILENT KILLERPanel

Current Path: > > usr > lib > node_modules > npm > > node_modules > > > fs.realpath


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.8
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/node_modules/npm//node_modules///fs.realpath

NameTypeSizeLast ModifiedActions
LICENSE File 2125 bytes March 10 2021 14:36:38.
README.md File 881 bytes March 10 2021 14:36:38.
index.js File 1308 bytes March 10 2021 14:36:38.
old.js File 8542 bytes March 10 2021 14:36:38.
package.json File 1504 bytes March 10 2021 14:36:38.

Reading File: //usr/lib/node_modules/npm//node_modules///fs.realpath/README.md

# fs.realpath

A backwards-compatible fs.realpath for Node v6 and above

In Node v6, the JavaScript implementation of fs.realpath was replaced
with a faster (but less resilient) native implementation.  That raises
new and platform-specific errors and cannot handle long or excessively
symlink-looping paths.

This module handles those cases by detecting the new errors and
falling back to the JavaScript implementation.  On versions of Node
prior to v6, it has no effect.

## USAGE

```js
var rp = require('fs.realpath')

// async version
rp.realpath(someLongAndLoopingPath, function (er, real) {
  // the ELOOP was handled, but it was a bit slower
})

// sync version
var real = rp.realpathSync(someLongAndLoopingPath)

// monkeypatch at your own risk!
// This replaces the fs.realpath/fs.realpathSync builtins
rp.monkeypatch()

// un-do the monkeypatching
rp.unmonkeypatch()
```

SILENT KILLER Tool