UNPKG

pnpm

Version:

Fast, disk space efficient package manager

109 lines (108 loc) 4.73 kB
{ "_args": [ [ { "raw": "dir-is-case-sensitive@1.0.0", "scope": null, "escapedName": "dir-is-case-sensitive", "name": "dir-is-case-sensitive", "rawSpec": "1.0.0", "spec": "1.0.0", "type": "version" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm" ] ], "_from": "dir-is-case-sensitive@1.0.0", "_hasShrinkwrap": false, "_id": "dir-is-case-sensitive@1.0.0", "_location": "/dir-is-case-sensitive", "_nodeVersion": "10.12.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/dir-is-case-sensitive_1.0.0_1552822348507_0.4169186025482019" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "6.9.0", "_phantomChildren": {}, "_requested": { "raw": "dir-is-case-sensitive@1.0.0", "scope": null, "escapedName": "dir-is-case-sensitive", "name": "dir-is-case-sensitive", "rawSpec": "1.0.0", "spec": "1.0.0", "type": "version" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/dir-is-case-sensitive/-/dir-is-case-sensitive-1.0.0.tgz", "_shasum": "274427793b1e675cbfe213a07e274334d94da608", "_shrinkwrap": null, "_spec": "dir-is-case-sensitive@1.0.0", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm", "author": { "name": "Zoltan Kochan", "email": "z@kochan.io" }, "dependencies": { "@types/graceful-fs": "*", "graceful-fs": "^4.1.15", "path-temp": "1.0.0" }, "description": "Returns true, if the specified directory is case sensitive", "devDependencies": { "@types/tape": "4.2.33", "package-preview": "2.0.0", "tape": "4.10.1", "ts-node": "8.0.3", "typescript": "3.3.1" }, "directories": {}, "dist": { "integrity": "sha512-6DPYmZv8dSPA9+w7koCfBeUzgER8rjvwOUj4cl+lgiKp8U3ssxgHdRJJrTvZzvBHYWLsWBV8eR3fbKywq+uzUg==", "shasum": "274427793b1e675cbfe213a07e274334d94da608", "tarball": "https://registry.npmjs.org/dir-is-case-sensitive/-/dir-is-case-sensitive-1.0.0.tgz", "fileCount": 6, "unpackedSize": 5680, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjjBNCRA9TVsSAnZWagAAh9cP/0PUJK/I1gifDUzBw/SW\n/S/ye7Duo2xyJPqnszuE7FEH0EWb63Mihv9oM98nWHis6ZcRZHCNWqKBpIg6\nvOIcmt6dSvpkYG34Do6qtoTwxLcITaeLVHHjCdUfJqNbN+4QVaE9AY96YboW\nhtifaBqALv1xj3LNMhVHTUj4qaAf7WkPGxtnhCkjIvphdngOzXo7omxi7CvC\nmEtTx54JIMVdaUwC9bhTPwiLYqXE3uFTYyZeLpi6yvRdcn0B9rswEJe/eYun\nxNuNenrc8kTfYP/KOrZCrdd2ZHGpcbAUiI6Lgb4M1J9RMFB4Gv3I12u6BLLq\nplk5A9BK32HpELRftNT2at9mHP8KYdEbYoDMH0lSVzWGmEuRB7J6Wgcro/xT\nUWD6mV5wK6LE0aoki1gRA9kUAnurhEI/70MiP2kMXrdnOtUqt0ndTUM2VV9h\nony8QcqyJxPoBxObzmHyp4yXsqVOjdzbz8lYjQ8AzXtfN+ujvchC2FzereDw\nSPEcmuHMikqrWl4Z1u1xulWbg1y5lq9HyFnXiPIXwbUSig1R5W50YrgD+k5e\nfogI7qagwzxZBl4Pfl2VyShH9GV+CzEPt7IO/3IckTOI0cEwkwOyV1eMmfue\n0lC90GAPZUVsoe7KS/rM1COlsf64Liy9qgtT+qHG/R5ijJcFUtr6beS02dTq\nEYXD\r\n=HNVG\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">=8" }, "files": [ "lib" ], "homepage": "https://github.com/zkochan/packages/tree/master/dir-is-case-sensitive#readme", "keywords": [ "filesystem", "case" ], "license": "MIT", "main": "lib/index.js", "maintainers": [ { "name": "zkochan", "email": "z@kochan.io" } ], "name": "dir-is-case-sensitive", "optionalDependencies": {}, "readme": "# dir-is-case-sensitive\n\n> Returns true, if the specified directory is case sensitive\n\nSome filesystems are case sensitive, some are not. Some allow\nspecific directories to be case sensitive. This package helps\nto detect if a directory is case sensitive or not.\n\n## Installation\n\n```\n<npm|yarn|pnpm> add dir-is-case-sensitive\n```\n\n## Usage\n\n```ts\nimport dirIsCaseSensitive from 'dir-is-case-sensitive'\n\nawait dirIsCaseSensitive('/src')\n//> true\n```\n\n## API\n\n### `dirIsCaseSensitive(dirPath, [silent=true]): Promise<boolean|undefined>`\n\n#### Arguments\n\n* dirPath - *Path* - the dir to check\n* silent - *Boolean* - Optional. `true` by default. When `false`, an error is thrown if cannot check case sensibility of the file.\n\n#### Returns\n\n* true if dir is case sensible\n* false if dir is case sensible\n* undefined if could not detect\n\n## License\n\n[MIT](LICENSE) © [Zoltan Kochan](https://www.kochan.io)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "https://github.com/zkochan/packages/tree/master/dir-is-case-sensitive" }, "scripts": { "prepublishOnly": "pnpm run tsc", "test": "preview && ts-node test", "tsc": "tsc" }, "typings": "lib/index.d.ts", "version": "1.0.0" }