• Login
    • Report A Bug
    • System Information
    • System Tests
    • System Policies
    • Code Documentation
    • Occam Source Code
    • Web Client Source Code
    • About Occam
    • Acknowledgements
    • Guides / Documentation
    • Publications

translation missing: en.flash.saving
translation missing: en.flash.error
  • Bibliography Data
  • Metadata
resource
  • git
    https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git Source Repository
    QmV1DpFBVectGA9SCwR6uoNPufdgFXeZm4SNA5WBRt3QL8
    1f7cac19c0c298cf40b3f2f3c735477ad579ac61
      QmV1DpFBVectGA9SCwR6uoNPufdgFXeZm4SNA5WBRt3QL8
      1f7cac19c0c298cf40b3f2f3c735477ad579ac61

      • Details
      • Files
      • History
        • Source

          https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git

          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

          Related

          • maintainer

            npm

          Share

          • URL

            Copy
          • Embed Link

            Copy
          • QR Code

        • JavaScript must be enabled.

          There was an error retrieving this content.

          The content could not be found.

        • JavaScript must be enabled.

          There was an error retrieving this content.

          The content could not be found.

        Confirm
        Do you wish to proceed?

        Confirm message?