prc b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
..
.github b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
test b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
.eslintrc b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
.nycrc b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
CHANGELOG.md b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
LICENSE b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
README.md b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
browser.js b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
index.js b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ
package.json b6c02717e6 Upload complete no-internet building environment. 1 gadu atpakaļ

README.md

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