{"name":"path-depth","description":"Get the depth of a file/URL path.","version":"0.2.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":">=4"},"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":"5aad94522ec25d56cb82d47e892e0597cf35fa85","bugs":{"url":"https://github.com/derhuerst/path-depth/issues"},"_id":"path-depth@0.2.0","_shasum":"c220b270734cf4d3a815afd6490a331cfab40fb9","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"c220b270734cf4d3a815afd6490a331cfab40fb9","tarball":"http://registry-npm.ywwl.com/path-depth/download/path-depth-0.2.0.tgz","integrity":"sha512-R9Yy34ba5phFzOT08EiMM0XDPrB1Fw3607utbXidPg7wjYCWVfTqKoC/f0v8pqkeGdMDGJVnsxh00h1BzcSlOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDHo46yFuYCWqCseqOOXOxSkIVve7xBOqJ3KfyMlo5lAiEAq+hLp/PWTZ5aJfMO48b3pBHQU0zaRNMq4zdzBonb08w="}],"size":1526,"noattachment":false,"key":"/path-depth/-/path-depth-0.2.0.tgz"},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/path-depth-0.2.0.tgz_1458493865846_0.5138339775148779"},"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":1458493868246,"_cnpm_publish_time":1458493868246,"dist-tags":{"latest":"1.0.0"}}