{"_id":"supports-preserve-symlinks-flag","_rev":"2122929","name":"supports-preserve-symlinks-flag","description":"Determine if the current node version supports the `--preserve-symlinks` flag.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2022-01-03T21:11:18.000Z","created":"2022-01-03T07:22:56.640Z","1.0.0":"2022-01-03T07:22:56.640Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git"},"versions":{"1.0.0":{"name":"supports-preserve-symlinks-flag","version":"1.0.0","description":"Determine if the current node version supports the `--preserve-symlinks` flag.","main":"./index.js","browser":"./browser.js","exports":{".":[{"browser":"./browser.js","default":"./index.js"},"./index.js"],"./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git"},"keywords":["node","flag","symlink","symlinks","preserve-symlinks"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues"},"homepage":"https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme","devDependencies":{"@ljharb/eslint-config":"^20.1.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^8.6.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","semver":"^6.3.0","tape":"^5.4.0"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"1f7cac19c0c298cf40b3f2f3c735477ad579ac61","_id":"supports-preserve-symlinks-flag@1.0.0","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"shasum":"6eda4bd344a3c94aea376d4cc31bc77311039e09","size":3810,"noattachment":false,"key":"/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/supports-preserve-symlinks-flag/download/supports-preserve-symlinks-flag-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/supports-preserve-symlinks-flag_1.0.0_1641194576474_0.27878743076587753"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-03T07:23:03.766Z","publish_time":1641194576640,"_cnpm_publish_time":1641194576640}},"readme":"# node-supports-preserve-symlinks-flag <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nDetermine if the current node version supports the `--preserve-symlinks` flag.\n\n## Example\n\n```js\nvar supportsPreserveSymlinks = require('node-supports-preserve-symlinks-flag');\nvar assert = require('assert');\n\nassert.equal(supportsPreserveSymlinks, null); // in a browser\nassert.equal(supportsPreserveSymlinks, false); // in node < v6.2\nassert.equal(supportsPreserveSymlinks, true); // in node v6.2+\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/node-supports-preserve-symlinks-flag\n[npm-version-svg]: https://versionbadg.es/inspect-js/node-supports-preserve-symlinks-flag.svg\n[deps-svg]: https://david-dm.org/inspect-js/node-supports-preserve-symlinks-flag.svg\n[deps-url]: https://david-dm.org/inspect-js/node-supports-preserve-symlinks-flag\n[dev-deps-svg]: https://david-dm.org/inspect-js/node-supports-preserve-symlinks-flag/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/node-supports-preserve-symlinks-flag#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/node-supports-preserve-symlinks-flag.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/node-supports-preserve-symlinks-flag.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/node-supports-preserve-symlinks-flag.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=node-supports-preserve-symlinks-flag\n[codecov-image]: https://codecov.io/gh/inspect-js/node-supports-preserve-symlinks-flag/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/node-supports-preserve-symlinks-flag/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/node-supports-preserve-symlinks-flag\n[actions-url]: https://github.com/inspect-js/node-supports-preserve-symlinks-flag/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme","bugs":{"url":"https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues"},"license":"MIT"}