</>PackageGraphPackageGraph

supports-preserve-symlinks-flag

npmv1.0.0

Determine 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

9.0 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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.

PackageWeekly downloadsDependentsLicenseLast release
supports-preserve-symlinks-flagthis page01MIT4 years ago
has-flag315.4M1MIT16 days ago
axios119M4MIT17 days ago
tsx83M25MIT16 days ago
next53.1M0MIT17 days ago
ts-node48.5M38MIT16 days ago

Dependencies

Declared by supports-preserve-symlinks-flag v1.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (8)

@ljharb/eslint-config ^20.1.0aud ^1.1.5auto-changelog ^2.3.0eslint ^8.6.0nyc ^10.3.2safe-publish-latest ^2.0.0semver ^6.3.0tape ^5.4.0

Used by

Popular packages that depend on supports-preserve-symlinks-flag.

Relationship graph

Dependencies (left) and dependents (right) of supports-preserve-symlinks-flag.

resolvesupports-preserve…
supports-preserve-symlinks-flag dependencies dependents

Frequently installed together

Release history

No releases in the last two years.

Recent versions of supports-preserve-symlinks-flag
VersionPublishedSizeLicense
1.0.0latest4 years ago9.0 KBMIT

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

Keywords

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.