{"name":"path-depth","description":"Get the path of a file/URL path.","version":"0.1.0","main":"index.js","files":["index.js","readme.md"],"keywords":["depth","relative","path","absolute","path","resolution"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/path-depth","repository":{"type":"git","url":"git://github.com/derhuerst/path-depth.git"},"license":"ISC","engines":{"node":">=5"},"devDependencies":{"coffee-script":"^1.10","nodeunit":"^0.9.1","watchy":"^0.6.6"},"scripts":{"test":"nodeunit --reporter minimal test.coffee","test:watch":"watchy -s -w . nodeunit --reporter minimal test.coffee","prepublish":"npm test"},"gitHead":"982943d67dcbfb7cad2aaa4f67f989042baec7db","bugs":{"url":"https://github.com/derhuerst/path-depth/issues"},"_id":"path-depth@0.1.0","_shasum":"8fc3d53fbb5e6ed02c71f5e2f57b25f216ae894e","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.6.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"8fc3d53fbb5e6ed02c71f5e2f57b25f216ae894e","tarball":"http://registry-npm.ywwl.com/path-depth/download/path-depth-0.1.0.tgz","integrity":"sha512-rZXdK8lrMyRI44WvmWrIu2+VB9fzv63SOrR6zvfP7bwkuKwDXH0dDZeDPV/bP76FY6Ws635w3aEE+q+z7jxhBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICT9spJDmHcinW+CIGOQeThmlMNZsXW8MV/a8AT9BnBMAiEAiWj8UXxwtKnu4ieXz0KbDuLzmNLgFZMnMAsoHixkVgQ="}],"size":1527,"noattachment":false,"key":"/path-depth/-/path-depth-0.1.0.tgz"},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/path-depth-0.1.0.tgz_1455986196041_0.5943919068668038"},"directories":{},"readme":"# path-depth\n\n**Get the depth of a file/URL path.**\n\n```javascript\ndepth('/a/b/c')      //  3\ndepth('a\\\\..\\\\b\\\\c') //  2\ndepth('a/./b')       //  2\ndepth('foo/../..')   // -1\ndepth('.')           //  0\n```\n\n[![npm version](https://img.shields.io/npm/v/path-depth.svg)](https://www.npmjs.com/package/path-depth)\n[![build status](https://img.shields.io/travis/derhuerst/path-depth.svg)](https://travis-ci.org/derhuerst/path-depth)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/path-depth.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install path-depth\n```\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/path-depth/issues).\n","publish_time":1455986200776,"_cnpm_publish_time":1455986200776,"dist-tags":{"latest":"1.0.0"}}