{"name":"realpath-native","version":"1.1.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":">=4"},"scripts":{"lint":"eslint .","test":"eslint . && ava"},"dependencies":{"util.promisify":"^1.0.0"},"devDependencies":{"@commitlint/cli":"^6.0.2","@commitlint/config-conventional":"^6.0.2","ava":"^0.25.0","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.16.4"},"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":"7808c3d3d1d20b2314cc7bee788fc727f9f2f080","bugs":{"url":"https://github.com/SimenB/realpath-native/issues"},"homepage":"https://github.com/SimenB/realpath-native#readme","_id":"realpath-native@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"dist":{"integrity":"sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==","shasum":"2003294fea23fb0672f2476ebe22fcf498a2d65c","tarball":"http://registry-npm.ywwl.com/realpath-native/download/realpath-native-1.1.0.tgz","fileCount":5,"unpackedSize":4839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYsrgCRA9TVsSAnZWagAAbqkP/1Ik5P8UzDHMauzqvqVX\nhvQPfgYFQdMC6UTeLPK8AydpSkreAsoP8EmNCRZOGwp7LdRghNOVNmQCoxhX\nd0+7Gr7zR+UbO4Cs5t1K7aRhFTGSj6Y3lByLlLESRQ/IE+9OZmYZ3ME55Iof\nDtkfVjH2y2mM3/uuzSy7vPAogl3fcQsYyI3VQZbY4lno/YiTy7NBSEJVtY/K\nCfXIAI9TCAWNO+lRvFGuPUAHjRZjFIlprk3UEJ+WWZm9Ckx7x0jLYAa7+Efm\nWs4hyPdKILX2UiE1HQb/r5mEO1raOlYyrxodNwa5PFUhRzkgvesBPKk1hs7k\nA9IXDMqBZRcqz7/Sc+O67CCyts9Z7uyhwaelO2/p8BQq49rwvqGtRKJ0DPsV\nYtkfOhP8U4ysLYidnZ3Wuy/ABL8IjMZg5+FQPQZV/KpTAwikVHTMODJ6YsBg\nDhrkrolMntetFp096RXV+YaJVNh02hi1HelnsXurT8zwW8wzErSm2reVBrlW\nHX/RuTnJK7ETNQQg6zUGTTwnriVNdXT/6cWd21eKn180H8MbXCHutAOZOVIB\nIezfq6AfqGOWeIQ9Yt7/fiGCIYaWnZXgVaDQ42oSjWSsU1e6MqWDz4WnfsAx\n8vj9QRFqUbotdw5imlp7VLbGxRn1pV32L5JdySYJhkGirt9MWz5lc9v81qxV\ntaCF\r\n=xzGK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGB3ToNz2gdWtBvBwavaVAhebNdoPYkmx+3IhqwCPTi8AiEAhqFm1NuhjvU6DvBC10mvfMq9QMK1s8Os/3Iq9nnYoVY="}],"size":2238,"noattachment":false,"key":"/realpath-native/-/realpath-native-1.1.0.tgz"},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realpath-native_1.1.0_1549978335744_0.5993735341274131"},"_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":1549978335869,"_cnpm_publish_time":1549978335869,"dist-tags":{"latest":"3.0.0"}}