0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-06 11:18:57 -05:00
deno/tests/registry/npm/path-scurry/registry.json

2 lines
25 KiB
JSON
Raw Normal View History

{"name":"path-scurry","dist-tags":{"latest":"1.11.1"},"versions":{"1.11.1":{"name":"path-scurry","version":"1.11.1","author":{"url":"https://blog.izs.me","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BlueOak-1.0.0","_id":"path-scurry@1.11.1","bugs":{"url":"https://github.com/isaacs/path-scurry/issues"},"tap":{"typecheck":true},"dist":{"shasum":"7960a668888594a0720b12a911d1a742ab9f11d2","tarball":"http://localhost:4260/path-scurry/path-scurry-1.11.1.tgz","fileCount":13,"integrity":"sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==","signatures":[{"sig":"MEYCIQDBjLbfo2sQti3sfRnzaiinq/kkXl1m+QvSVxxwW4e8xAIhAOU7wQ5HNxGrEROeHVnPM5T/4hhZllwlkzv1Aufgubk8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":535479},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"},"selfLink":false},"type":"module","types":"./dist/commonjs/index.d.ts","engines":{"node":">=16 || 14 >=14.18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/isaacs"},"gitHead":"766c9b06aacef86b43c9999cabc5eb824b5958d6","scripts":{"snap":"tap","test":"tap","bench":"bash ./scripts/bench.sh","format":"prettier --write . --loglevel warn","prepare":"tshy","presnap":"npm run prepare","pretest":"npm run prepare","typedoc":"typedoc --tsconfig tsconfig-esm.json ./src/*.ts","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":75,"arrowParens":"avoid","singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"experimentalTernaries":true},"repository":{"url":"git+https://github.com/isaacs/path-scurry.git","type":"git"},"_npmVersion":"10.7.0","description":"walk paths fast and efficiently","directories":{},"_nodeVersion":"20.11.0","dependencies":{"minipass":"^5.0.0 || ^6.0.2 || ^7.0.0","lru-cache":"^10.2.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.12.0","tap":"^18.7.2","tshy":"^1.14.0","mkdirp":"^3.0.0","rimraf":"^5.0.1","ts-node":"^10.9.2","typedoc":"^0.25.12","prettier":"^3.2.5","typescript":"^5.4.3","@types/node":"^20.12.11","@nodelib/fs.walk":"^1.2.8","eslint-config-prettier":"^8.6.0"}}},"bugs":{"url":"https://github.com/isaacs/path-scurry/issues"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://blog.izs.me"},"license":"BlueOak-1.0.0","homepage":"https://github.com/isaacs/path-scurry#readme","repository":{"type":"git","url":"git+https://github.com/isaacs/path-scurry.git"},"description":"walk paths fast and efficiently","readme":"# path-scurry\n\nExtremely high performant utility for building tools that read\nthe file system, minimizing filesystem and path string munging\noperations to the greatest degree possible.\n\n## Ugh, yet another file traversal thing on npm?\n\nYes. None of the existing ones gave me exactly what I wanted.\n\n## Well what is it you wanted?\n\nWhile working on [glob](http://npm.im/glob), I found that I\nneeded a module to very efficiently manage the traversal over a\nfolder tree, such that:\n\n1. No `readdir()` or `stat()` would ever be called on the same\n file or directory more than one time.\n2. No `readdir()` calls would be made if we can be reasonably\n sure that the path is not a directory. (Ie, a previous\n `readdir()` or `stat()` covered the path, and\n `ent.isDirectory()` is false.)\n3. `path.resolve()`, `dirname()`, `basename()`, and other\n string-parsing/munging operations are be minimized. This means\n it has to track \"provisional\" child nodes that may not exist\n (and if we find that they _don't_ exist, store that\n information as well, so we don't have to ever check again).\n4. The API is not limited to use as a stream/iterator/etc. There\n are many cases where an API like node's `fs` is preferrable