{"name":"realpath-native","version":"1.0.1","main":"index.js","files":["index.js"],"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":">=4"},"scripts":{"lint":"eslint .","test":"eslint ."},"dependencies":{"util.promisify":"^1.0.0"},"devDependencies":{"@commitlint/cli":"^6.0.2","@commitlint/config-conventional":"^6.0.2","eslint":"^4.13.1","eslint-config-simenb-base":"^14.0.0","eslint-config-simenb-node":"^0.4.11","husky":"^0.14.3","lint-staged":"^6.0.0","prettier":"^1.9.2"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":{"proseWrap":"always","singleQuote":true,"trailingComma":"es5"},"lint-staged":{"*.js":["eslint --fix","git add"],"*.{md,json}":["prettier --write","git add"]},"gitHead":"415f09537a38051fbce0af4bba411d1d3aeafd37","bugs":{"url":"https://github.com/SimenB/realpath-native/issues"},"homepage":"https://github.com/SimenB/realpath-native#readme","_id":"realpath-native@1.0.1","_npmVersion":"5.7.1","_nodeVersion":"8.11.1","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"dist":{"integrity":"sha512-W14EcXuqUvKP8dkWkD7B95iMy77lpMnlFXbbk409bQtNCbeu0kvRE5reo+yIZ3JXxg6frbGsz2DLQ39lrCB40g==","shasum":"07f40a0cce8f8261e2e8b7ebebf5c95965d7b633","tarball":"http://registry-npm.ywwl.com/realpath-native/download/realpath-native-1.0.1.tgz","fileCount":4,"unpackedSize":4502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPPunCRA9TVsSAnZWagAAQ7MP/1ZkddeNSTgmIKR3WRVj\nmZi7sRPFDhZ16hesAmUJq7eNEP0ivSMEDu7zYKTmHjv6xX82Cd9HzHCrfjJo\nyQWvf9ue65iOn7cK4f1m8CCFMCyZN5B3CmQNOnc83hqCSDiEmLptNpsTqeX5\nFTE8yMmxmH40eglGSCnj9/FW8dUcA1ImiwxKBPA/kZD8XWMseELkyapaUV6t\nS2WHyr26MiNXsjuB0y6iu7fbXJ7mS7FoSI2cKso4zKBFANBEiARoCVjratuj\nFGUPb9MYU4qB0Gh3PYFzbdJ0oSL7Lt4jtfDa4ITnTubkDI1D+a9OLvMSeUVs\nyCMUWDJnnUOEYU0OOwo2HgLjugO7hCLi0bL7/n5bIgOT/6uD2Mh+oFUWDSW4\nRabHP0/6jiXgrivvMeKKKIwms1ke2js3ekLydDiCqDehr6TU2707RR0NdGPS\n1BTsJErAioT/Jc48W2cbSRXbDABim8Pw6URZs0kEEF7Mh2sr88YysUUC/kYV\nWzoMMlUXPAm/8KbpILJnkxFZiUyWasTIEdZyZzF3n3FhkGjk7qCDImv0HSeb\nZR/bdhjJsC2hN4ZTVJgx9HRZ3ib7hjkf5sxFEM/xAxE9G80i2+Ad/MLQXfBs\nRQtH/JuT0YAc+Wh9NMvfLtBJvUAmtcblmMrOm0mVQgsx+NDyZ+GLS8OZrca3\ne3F+\r\n=etA8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFscH2sLWmM2XoI4xLKkHurMw/BdT2ZOjqrn667MsNWsAiBOtdRUNfSmIwf2hDMIjwYE+Rxu06PYg7IjeqdSOO6k8Q=="}],"size":2086,"noattachment":false,"key":"/realpath-native/-/realpath-native-1.0.1.tgz"},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realpath-native_1.0.1_1530723239668_0.3046671029701813"},"_hasShrinkwrap":false,"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":1530723239738,"_cnpm_publish_time":1530723239738,"dist-tags":{"latest":"3.0.0"}}