Дамир Газизов 50745011d6 доделаны некоторые странички | 4 months ago | |
---|---|---|
.. | ||
.github | 4 months ago | |
test | 4 months ago | |
.eslintrc | 4 months ago | |
.nycrc | 4 months ago | |
CHANGELOG.md | 4 months ago | |
LICENSE | 4 months ago | |
README.md | 4 months ago | |
browser.js | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago |
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