supports-preserve-symlinks-flag
Determine if the current node version supports the `--preserve-symlinks` flag.
Last updated 3 years ago by ljharb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install supports-preserve-symlinks-flag 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |