Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

supports-preserve-symlinks-flag

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

supports-preserve-symlinks-flag

Determine if the current node version supports the `--preserve-symlinks` flag.

    1.0.0latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
30,337,206
increased by7.87%

Weekly downloads

Changelog

Source

v1.0.0 - 2022-01-02

Commits

Readme

Source

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

Keywords

FAQs

Last updated on 03 Jan 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc