{"_id":"clean-up-path","_rev":"4-6fbc09ebe3f9a8cb081f15914a09ac50","name":"clean-up-path","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"clean-up-path","description":"Make paths absolute and normalize them.","version":"1.0.0","author":{"name":"Jo Liss","email":"joliss42@gmail.com"},"main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/broccoli/node-clean-up-path.git"},"keywords":["fs","path"],"files":["index.js"],"dependencies":{},"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.1","mocha-eslint":"^4.1.0"},"scripts":{"test":"mocha","test:debug":"mocha debug"},"gitHead":"41e71fc2fc2a4a1208775917598aa45f9854358c","bugs":{"url":"https://github.com/broccoli/node-clean-up-path/issues"},"homepage":"https://github.com/broccoli/node-clean-up-path#readme","_id":"clean-up-path@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"joliss","email":"joliss42@gmail.com"},"dist":{"integrity":"sha512-PHGlEF0Z6976qQyN6gM7kKH6EH0RdfZcc8V+QhFe36eRxV0SMH5OUBZG7Bxa9YcreNzyNbK63cGiZxdSZgosRw==","shasum":"de9e8196519912e749c9eaf67c13d64fac72a3e5","tarball":"https://registry.npmjs.org/clean-up-path/-/clean-up-path-1.0.0.tgz","fileCount":5,"unpackedSize":4572,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcm6axZUGoIBemsglVWNNmL5uB4Lff1TpG7bWsxgM6+AiABhYMA6H9RmCzhZfcKPK6NtEG7O4wgxz/sUaUCKjRTXA=="}]},"maintainers":[{"name":"joliss","email":"joliss42@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clean-up-path_1.0.0_1518714125227_0.1266497325614364"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-15T17:02:05.227Z","1.0.0":"2018-02-15T17:02:05.945Z","modified":"2022-04-12T06:37:54.406Z"},"maintainers":[{"email":"me@rwjblue.com","name":"rwjblue"},{"email":"stefan.penner@gmail.com","name":"stefanpenner"},{"email":"joliss42@gmail.com","name":"joliss"}],"description":"Make paths absolute and normalize them.","homepage":"https://github.com/broccoli/node-clean-up-path#readme","keywords":["fs","path"],"repository":{"type":"git","url":"git+https://github.com/broccoli/node-clean-up-path.git"},"author":{"name":"Jo Liss","email":"joliss42@gmail.com"},"bugs":{"url":"https://github.com/broccoli/node-clean-up-path/issues"},"license":"MIT","readme":"# node-clean-up-path\n\n[![Build Status](https://travis-ci.org/broccolijs/node-clean-up-path.svg?branch=master)](https://travis-ci.org/broccolijs/node-clean-up-path)\n\n## Installation\n\n```bash\nnpm install --save clean-up-path\n```\n\n## Usage\n\n```js\nlet cleanUpPath = require(\"clean-up-path\");\n\nlet absolutePath = cleanUpPath(somePath);\n\n// Now safely use p as a symlink target, etc.\n```\n\n`cleanUpPath(p)` is similar to\n[`path.resolve(p)`](https://nodejs.org/docs/latest/api/path.html#path_path_resolve_paths),\nbut it is faster for paths that are already resolved, and on Windows it turns\nLFS paths (`c:\\foo`) into long UNC paths (`\\\\?\\c:\\foo`) to deal with path length\nlimitations.\n\nUnlike `path.resolve`, it does not guarantee that the returned path contains no\n`..` or `.` segments.\n\n## Contributing\n\nClone this repo and run the tests like so:\n\n```\nnpm install\nnpm test\n```\n\nIssues and pull requests are welcome. If you change code, be sure to re-run\n`npm test`. Oftentimes it's useful to add or update tests as well.\n","readmeFilename":"README.md"}