supports-preserve-symlinks-flag (1.0.0)

Published 2026-02-24 14:05:58 +00:00 by atheaadmin

Installation

registry=
npm install supports-preserve-symlinks-flag@1.0.0
"supports-preserve-symlinks-flag": "1.0.0"

About this package

node-supports-preserve-symlinks-flag Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the current node version supports the --preserve-symlinks flag.

Example

var supportsPreserveSymlinks = require('node-supports-preserve-symlinks-flag');
var assert = require('assert');

assert.equal(supportsPreserveSymlinks, null); // in a browser
assert.equal(supportsPreserveSymlinks, false); // in node < v6.2
assert.equal(supportsPreserveSymlinks, true); // in node v6.2+

Tests

Simply clone the repo, npm install, and run npm test

Dependencies

Development Dependencies

ID Version
@ljharb/eslint-config ^20.1.0
aud ^1.1.5
auto-changelog ^2.3.0
eslint ^8.6.0
nyc ^10.3.2
safe-publish-latest ^2.0.0
semver ^6.3.0
tape ^5.4.0

Keywords

node flag symlink symlinks preserve-symlinks
Details
npm
2026-02-24 14:05:58 +00:00
1
Jordan Harband
MIT
latest
3.7 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-02-24