supports-preserve-symlinks-flag
npmv1.0.0Determine if the current node version supports the `--preserve-symlinks` flag.
Not recommended for new projects
No — supports-preserve-symlinks-flag should not be adopted for new projects. Last published 1711 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1711 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 9.0 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding supports-preserve-symlinks-flag to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >= 0.4
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the supports-preserve-symlinks-flag README.
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+supports-preserve-symlinks-flag vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
Dependencies
Declared by supports-preserve-symlinks-flag v1.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (8)
Used by
Popular packages that depend on supports-preserve-symlinks-flag.
Relationship graph
Dependencies (left) and dependents (right) of supports-preserve-symlinks-flag.
Frequently installed together
An AST-based pattern checker for JavaScript.
The semantic version parser used by npm.
Runtime typescript and ESM support for Node.js
A simple cache for a few of the JS Error constructors.
Node.js path.parse() ponyfill
Is this specifier a node.js core module?
Release history
No releases in the last two years.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.0latest | 4 years ago | 9.0 KB | MIT |
Overview
supports-preserve-symlinks-flag is an npm package that determine if the current node version supports the `--preserve-symlinks` flag. It has 1 known dependents in the graph. The latest version is 1.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need determine if the current node version supports the `--preserve-symlinks` flag and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use supports-preserve-symlinks-flag?
No — supports-preserve-symlinks-flag should not be adopted for new projects. Last published 1711 days ago.
How do I install supports-preserve-symlinks-flag?
Run `npm install supports-preserve-symlinks-flag` to add supports-preserve-symlinks-flag to your npm project.
What license is supports-preserve-symlinks-flag released under?
supports-preserve-symlinks-flag is distributed under the MIT license.
How popular is supports-preserve-symlinks-flag?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on supports-preserve-symlinks-flag.
Is supports-preserve-symlinks-flag still maintained?
The most recent release of supports-preserve-symlinks-flag (v1.0.0) was published 4 years ago.
Does supports-preserve-symlinks-flag run install scripts?
No. supports-preserve-symlinks-flag does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.