Frontend/25_01_07/mai/node_modules/supports-preserve-symlinks-flag
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00
..
.github asd 2025-01-28 11:38:27 +01:00
test asd 2025-01-28 11:38:27 +01:00
.eslintrc asd 2025-01-28 11:38:27 +01:00
.nycrc asd 2025-01-28 11:38:27 +01:00
browser.js asd 2025-01-28 11:38:27 +01:00
CHANGELOG.md asd 2025-01-28 11:38:27 +01:00
index.js asd 2025-01-28 11:38:27 +01:00
LICENSE asd 2025-01-28 11:38:27 +01:00
package.json asd 2025-01-28 11:38:27 +01:00
README.md asd 2025-01-28 11:38:27 +01:00

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