supports-preserve-symlinks-flag
Advanced tools
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
FAQs
Determine if the current node version supports the `--preserve-symlinks` flag.
The npm package supports-preserve-symlinks-flag receives a total of 25,425,062 weekly downloads. As such, supports-preserve-symlinks-flag popularity was classified as popular.
We found that supports-preserve-symlinks-flag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.