UNPKG

resolve-path

Version:

Resolve a relative path against a root path with validation

39 lines (38 loc) 997 B
{ "name": "resolve-path", "description": "Resolve a relative path against a root path with validation", "version": "1.3.0", "author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", "contributors": [ "Douglas Christopher Wilson <doug@somethingdoug.com>" ], "license": "MIT", "repository": "pillarjs/resolve-path", "dependencies": { "http-errors": "~1.3.1", "path-is-absolute": "1.0.0" }, "devDependencies": { "istanbul": "0.3.9", "mocha": "2.2.5" }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], "engines": { "node": ">= 0.8" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" }, "keywords": [ "resolve", "path", "safe" ] }