{"name":"realpath-native","version":"3.0.0","main":"index.js","types":"index.d.ts","description":"Use the system's native `realpath`","repository":{"type":"git","url":"git+https://github.com/SimenB/realpath-native.git"},"author":{"name":"Simen Bekkhus","email":"sbekkhus91@gmail.com"},"license":"MIT","keywords":["realpath"],"engines":{"node":">=8"},"scripts":{"lint":"eslint .","test":"eslint . && ava"},"devDependencies":{"@commitlint/cli":"^8.3.5","@commitlint/config-conventional":"^8.3.4","ava":"^2.4.0","eslint":"^6.8.0","eslint-config-simenb-base":"^15.0.1","eslint-config-simenb-node":"^2.0.0","husky":"^3.1.0","lint-staged":"^9.5.0","prettier":"^1.19.1"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":{"proseWrap":"always","singleQuote":true,"trailingComma":"es5"},"lint-staged":{"*.js":["eslint --fix","git add"],"*.{md,json,ts}":["prettier --write","git add"]},"gitHead":"be775a74129e550cca370a3db253e94179c72b00","bugs":{"url":"https://github.com/SimenB/realpath-native/issues"},"homepage":"https://github.com/SimenB/realpath-native#readme","_id":"realpath-native@3.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-wo8UcDdReNSM53uPYlCfdCSQ4C6DY1wJg4tkXFMeR0unroR3Yt/VhobEk9TmGowbRwtzYmXwAERkcVI2ih0JVA==","shasum":"b05f133f90b8a0eb41345f8d31e38784dc0cf649","tarball":"http://registry-npm.ywwl.com/realpath-native/download/realpath-native-3.0.0.tgz","fileCount":5,"unpackedSize":4879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetBF4CRA9TVsSAnZWagAAO1cP/it3lZ3xyhCDJtRYvY8Q\nmAD5zTbwYNQRN1A5J+y9VRg19TT1WJlPh6WfSIrzBlzz384Q2NzxUk6Ff4Cy\nakrTv9w8xZ/AcMNgEeC76IwkgUB7mmf7HrojbE1PyF629ny3m0ibe/z1HCyl\nprBzQkDZl1Lp9Pe/jaRfwMBBhayZx39TpOwp2MsendBkMqiRd3jlKcUmbb/h\nTSXtmovvkbdEwBj1q9N1fdL6aH1C8qVWNZndJoR0nfq+BxF52RJsCzS6l0La\ndeAsun8V+bB7K4ePGd8oRSRPhI+2JO6EjvvAsCGBxCa3VXt72jCkk8q/xy35\nbwfxPlSVU89aUEcDPO/WavKOav+aGY3XGkqmTTKoqO7WoflMHR5LPBOKfBzL\nTtJsCXRjVFa0pr7egSLPczTud5LoGpoltR06kwSpNtoMut+OhxDIv3MqwUlM\nCCTmwKl5RnXhHgP8yU8S9DLKLNniaT4og9bXlWw/ToR5MU4faWvCzE20RSiD\nKg+ZgvnwNEfNhvoM/b4cU9kbUzxY5wW7InA00/iLOzMTdmEqLo3oz86cn1la\nwUkN/tTmMctUCC4rF/laWqC0nbD4b+1VLXz9fsNdSMT3liLUiv8dM91U8d81\nOlqlqKUXPFw3xvnlejfruVWgi5xqUNXAUsXndz/m3oeyElVg2xGS4Bu4KsmV\nDTH6\r\n=UBGk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEh0x1h6tJuR8ebezuRtQ6cqguYWgEPXrdBQ/0YaOe/gIhAPFZAgs7H897PjeEpCwT45LWOA1bbDrA0HtCq9h4tcv/"}],"size":2283,"noattachment":false,"key":"/realpath-native/-/realpath-native-3.0.0.tgz"},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realpath-native_3.0.0_1588859255473_0.7661072050382947"},"_hasShrinkwrap":false,"deprecated":"This module is no longer needed, please use `fs.realpath.native` directly","readme":"# realpath-native\n\n> This module is no longer necessary as all current releases of Node supports `fs.realpath.native` now.\n\n> Use the system's native `realpath`\n\n[![NPM Version][npm-image]][npm-url]\n[![Linux & Mac Build Status][travis-image]][travis-url]\n\n[![Greenkeeper Dependency Status][greenkeeper-image]][greenkeeper-url]\n\nNode 9.3 added `fs.realpath(Sync).native`. On older Nodes you have to use\n`process.binding` to access the same function. This module does that check for\nyou.\n\nThe advantage of the native `realpath` over `fs.realpath` is that the native one\nbetter supports paths on Windows.\n\nOn node 8 the function uses the old `fs.realpath` function.\n\n## Install\n\nInstall the module with `npm`:\n\n```sh\n$ npm install realpath-native\n```\n\n## Usage\n\n```js\nconst realpath = require('realpath-native');\n\nrealpath('some-path'); // returns a promise\n\nrealpath.sync('some-path');\n```\n\n## API\n\n### realpath(path)\n\nReturns a promise for the resolved path of the input.\n\n#### path\n\nType: `string`\n\n### realpath.sync(path)\n\nReturns the resolved path of the input synchronously.\n\n#### path\n\nType: `string`\n\n[npm-url]: https://npmjs.org/package/realpath-native\n[npm-image]: https://img.shields.io/npm/v/realpath-native.svg\n[travis-url]: https://travis-ci.org/SimenB/realpath-native\n[travis-image]: https://img.shields.io/travis/SimenB/realpath-native/master.svg\n[greenkeeper-url]: https://greenkeeper.io/\n[greenkeeper-image]: https://badges.greenkeeper.io/SimenB/realpath-native.svg\n","publish_time":1588859255642,"_cnpm_publish_time":1588859255642,"dist-tags":{"latest":"3.0.0"}}