-file-directory"> supports-preserve-symlinks-flag 30f7226d9a first commit vor 2 Jahren tailwind-color-palette 30f7226d9a first commit vor 2 Jahren tailwindcss 30f7226d9a first commit vor 2 Jahren thenify 30f7226d9a first commit vor 2 Jahren thenify-all 30f7226d9a first commit vor 2 Jahren to-regex-range 30f7226d9a first commit vor 2 Jahren tr46 30f7226d9a first commit vor 2 Jahren ts-interface-checker 30f7226d9a first commit vor 2 Jahren uglify-js 30f7226d9a first commit vor 2 Jahren underscore 30f7226d9a first commit vor 2 Jahren upper-case 30f7226d9a first commit vor 2 Jahren util-deprecate 30f7226d9a first commit vor 2 Jahren valid-data-url 30f7226d9a first commit vor 2 Jahren web-resource-inliner 30f7226d9a first commit vor 2 Jahren webidl-conversions 30f7226d9a first commit vor 2 Jahren whatwg-url 30f7226d9a first commit vor 2 Jahren wrap-ansi 30f7226d9a first commit vor 2 Jahren wrappy 30f7226d9a first commit vor 2 Jahren y18n 30f7226d9a first commit vor 2 Jahren yallist 30f7226d9a first commit vor 2 Jahren yaml 30f7226d9a first commit vor 2 Jahren yargs 30f7226d9a first commit vor 2 Jahren yargs-parser 30f7226d9a first commit vor 2 Jahren .yarn-integrity 30f7226d9a first commit vor 2 Jahren tmt/tiger_frontend - Gogs: Simplico Git Service

Aucune description

golf 77628cf8bf first comm il y a 2 ans
..
LICENSE 77628cf8bf first comm il y a 2 ans
README.md 77628cf8bf first comm il y a 2 ans
index.js 77628cf8bf first comm il y a 2 ans
old.js 77628cf8bf first comm il y a 2 ans
package.json 77628cf8bf first comm il y a 2 ans

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

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()