supports-preserve-symlinks-flag
Advanced tools
Determine if the current node version supports the `--preserve-symlinks` flag.
Weekly downloads
Changelog
v1.0.0 - 2022-01-02
e2f59ad
dc222aa
5ef77f7
992b068
6c9afa9
2f98925
auto-changelog
6c476ae
eslint
, @ljharb/eslint-config
d0fffc8
ab318ed
safe-publish-latest
2bb23b3
sideEffects
flag 600223b
Readme
Determine if the current node version supports the --preserve-symlinks
flag.
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+
Simply clone the repo, npm install
, and run npm test
Determine if the current node version supports the `--preserve-symlinks` flag.
The npm package supports-preserve-symlinks-flag receives a total of 18,548,810 weekly downloads. As such, supports-preserve-symlinks-flag popularity was classified as popular.
We found that supports-preserve-symlinks-flag demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.