{"_id":"@parkhub/proto-finder","_rev":"54-cd3c3c7c98f30996457c269397d6cd26","name":"@parkhub/proto-finder","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@parkhub/proto-finder","version":"0.1.0","author":{"name":"Daniel Olivares"},"license":"MIT","_id":"@parkhub/proto-finder@0.1.0","maintainers":[{"name":"sirmyztiq","email":"daniel.olivares@parkhub.com"}],"dist":{"shasum":"dbe3edc32c2e5271819ce521c410ec107a27a814","tarball":"https://registry.npmjs.org/@parkhub/proto-finder/-/proto-finder-0.1.0.tgz","integrity":"sha512-AITJk3HNaRis2bhHKMEqbfGbl/fSswX1c0leueQILqyYXh28e/uJXt1Xic9pcc8ASiZfx+K0DsaUCrYU7r7cBA==","signatures":[{"sig":"MEUCIQC7twSHo3TPnc130IlhyvuoS+1OXnR3BijF8p0D6k40uQIgGraESeAo1Ap53sl7RFhLBVzmOYAdBY8Mshel2H4xp8s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"verbose":true,"testMatch":["**/__tests__/**/*.test.js?(x)"],"collectCoverage":true,"collectCoverageFrom":["src/**/*.js"],"modulePathIgnorePatterns":["dist/*"],"coveragePathIgnorePatterns":["/node_modules/","/dist/"]},"main":"index.js","_from":".","config":{"commitizen":{"path":"cz-conventional-changelog"}},"_shasum":"dbe3edc32c2e5271819ce521c410ec107a27a814","scripts":{"docs":"documentation readme src/** --section=API","lint":"eslint src","test":"jest","build":"babel src --out-dir dist --copy-files && cp ./package.json ./README.md dist","clean":"rm -rf dist coverage","commit":"git-cz","release":"yarn test && yarn run clean && yarn run lint && yarn run build"},"_npmUser":{"name":"sirmyztiq","email":"daniel.olivares@parkhub.com"},"_npmVersion":"4.6.1","description":"Returns the full-path of a protofile in the nearest proto directory to where your application is running from.","directories":{},"_nodeVersion":"7.10.0","dependencies":{"globby":"^6.1.0"},"devDependencies":{"jest":"^20.0.3","eslint":"^3.19.0","babel-cli":"^6.24.1","babel-jest":"^20.0.3","commitizen":"^2.9.6","babel-eslint":"^7.2.3","documentation":"^4.0.0-rc.1","eslint-loader":"^1.7.1","eslint-plugin-jest":"^20.0.3","eslint-plugin-babel":"^4.1.1","prettier-eslint-cli":"^4.0.1","eslint-plugin-import":"^2.2.0","cz-conventional-changelog":"^2.0.0","eslint-config-airbnb-base":"^11.2.0","babel-plugin-transform-strict-mode":"^6.24.1","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/proto-finder-0.1.0.tgz_1495472694408_0.8482574990484864","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@parkhub/proto-finder","version":"0.1.1","author":{"name":"Daniel Olivares"},"license":"MIT","_id":"@parkhub/proto-finder@0.1.1","maintainers":[{"name":"accloudcoder","email":"alexander.cauble@gmail.com"},{"name":"sirmyztiq","email":"fuzzoli87@gmail.com"},{"name":"jonsenterfitt","email":"jon.senterfitt@parkhub.com"},{"name":"thetwosents","email":"jon@belfortagency.com"},{"name":"loganbfisher","email":"logan@themediaside.com"},{"name":"realtschoegl","email":"matt.tschoegl@parkhub.com"}],"dist":{"shasum":"eb80a0b278276ce053a8e5e853259a3d85bc54fa","tarball":"https://registry.npmjs.org/@parkhub/proto-finder/-/proto-finder-0.1.1.tgz","integrity":"sha512-6st99logPNbgZNSxiDr2PhgRVB5CM6EJs/X/I5Q1RFxi/XrExujtH70vQ4n8MV5Uoy/lP/Lblp59d62ZLfx0dw==","signatures":[{"sig":"MEQCICRw5QpW8mgJro9aw+PipsI0EOUr8WAQyt4qxUEcQdOlAiAgZ09NUmrIl/fcsD651sNcPb3u9A6Ug+uams0FCaQGdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"verbose":true,"testMatch":["**/__tests__/**/*.test.js?(x)"],"collectCoverage":true,"collectCoverageFrom":["src/**/*.js"],"modulePathIgnorePatterns":["dist/*"],"coveragePathIgnorePatterns":["/node_modules/","/dist/"]},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"scripts":{"docs":"documentation readme src/** --section=API","lint":"eslint src","test":"jest","build":"babel src --out-dir dist --copy-files && cp ./package.json ./README.md dist","clean":"rm -rf dist coverage","commit":"git-cz","release":"yarn test && yarn run clean && yarn run lint && yarn run build"},"_npmUser":{"name":"sirmyztiq","email":"fuzzoli87@gmail.com"},"_npmVersion":"5.5.1","description":"Returns the full-path of a protofile in the nearest proto directory to where your application is running from.","directories":{},"_nodeVersion":"8.8.1","dependencies":{"globby":"^6.1.0"},"publishConfig":{"access":"public"},"devDependencies":{"jest":"^20.0.3","eslint":"^3.19.0","babel-cli":"^6.24.1","babel-jest":"^20.0.3","commitizen":"^2.9.6","babel-eslint":"^7.2.3","documentation":"^4.0.0-rc.1","eslint-plugin-jest":"^20.0.3","eslint-plugin-babel":"^4.1.1","prettier-eslint-cli":"^4.0.1","eslint-plugin-import":"^2.2.0","cz-conventional-changelog":"^2.0.0","eslint-config-airbnb-base":"^11.2.0","babel-plugin-transform-strict-mode":"^6.24.1","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/proto-finder-0.1.1.tgz_1510342925083_0.6516600102186203","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@parkhub/proto-finder","version":"0.1.2","author":{"name":"Daniel Olivares"},"license":"MIT","_id":"@parkhub/proto-finder@0.1.2","maintainers":[{"name":"accloudcoder","email":"alexander.cauble@gmail.com"},{"name":"daytonpe","email":"daytonpe14@gmail.com"},{"name":"fliko","email":"baxter.flw@gmail.com"},{"name":"jonsenterfitt","email":"jon.senterfitt@parkhub.com"},{"name":"loganbfisher","email":"logan@themediaside.com"},{"name":"novym","email":"jbrooks02@gmail.com"},{"name":"realtschoegl","email":"matt.tschoegl@parkhub.com"},{"name":"sirmyztiq","email":"fuzzoli87@gmail.com"},{"name":"thetwosents","email":"jon@belfortagency.com"},{"name":"topnacho","email":"todd.marshall@parkhub.com"},{"name":"virgilpate","email":"virgilpate@hotmail.com"}],"dist":{"shasum":"f27cfeb8687ec05fd8c1dfba6092f5afda47688a","tarball":"https://registry.npmjs.org/@parkhub/proto-finder/-/proto-finder-0.1.2.tgz","fileCount":3,"integrity":"sha512-otzfdSqsF476XUTEPixTWRZ/4FlWv7impND6JH8r4wF+GT+ktY8S3r3YX0ozxrPbn+csxwTOUZSidi1dG+aNqQ==","signatures":[{"sig":"MEUCIQDNfkvlhrWMNWAbDE7ntr6G7h3Kv9eO95McSZhJnQKSmwIgbRyBmUaD2Ru/Q1yUs7MFLfvR062+t78LnYJqqQergJE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbX2thCRA9TVsSAnZWagAArbEQAKBSDcpe/OrsoEVRy5cz\nANfI8owQZlyE05EwR/hQzf3luQtu1qxcvspi4yV+YYp6k03sSCQdpqVRyna+\n6xY+dFJcZTMfTwdtM3JggBDyCAOMJsp5HiKwZeQZvrIQMa6nw+uoW0MLlfNf\nyF3teyNSnRetCTTzqOX//indBE81gMpd2iGamAWRvr3XFX6wScxoFpFAayuH\nYvxG+RkB+T2+piSA8SVhNIH6b4zUeUAaI/QEDznt0tpCKJX/tVgof5MtvQ5K\nyprA2IXBjwpKJ+lGVtxEwI1owDZPpVhIIZfYoGY1KN9iCHj+HwytSRB7eArw\nX02toxFSFK5x3a0Brgac9fkF98airrwCWsLlp6oPNzWuxqFJR//zeE6Dk6us\nklvkOumTdaenzHhERx2oHQaXQg/tm3bkNFa4ZrQIDbru9xO/pNbKGPOCUsQe\nicewUSpB/MSEZ+NFJekTPkQnPGOvnq79Wz/PzKjs9RExF7wKravSCLXHKLk3\nfucDNWhfWBHJBNeGZb/vNxm58NLmVIWzqcBJ4fWYQlM+efFZj8D9b91E9xwC\n4c8lzRCwhEP6YMuqiy1fAWmbohiUFqtrboMxBax3lrRgN3dmlgCdI2S+NW8R\nFDXBfuotGPsldOUVbkBH7zo5h2c4HnCXN2SHkT8ORgHuX5gd9G2Gp1moigAt\nIll9\r\n=4qGA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"verbose":true,"testMatch":["**/__tests__/**/*.test.js?(x)"],"collectCoverage":true,"testEnvironment":"node","coverageThreshold":{"global":{"lines":85,"branches":85,"functions":85,"statements":85}},"collectCoverageFrom":["src/**/*.js"],"modulePathIgnorePatterns":["dist/*"],"coveragePathIgnorePatterns":["/node_modules/","/dist/"]},"main":"index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"scripts":{"docs":"documentation readme src/** --section=API","lint":"eslint src","test":"jest","build":"babel src --out-dir dist --copy-files && cp ./package.json ./README.md dist","clean":"rm -rf dist coverage","commit":"git-cz","release":"yarn test && yarn run clean && yarn run lint && yarn run build"},"_npmUser":{"name":"sirmyztiq","email":"fuzzoli87@gmail.com"},"_npmVersion":"6.2.0","description":"Returns the full-path of a protofile in the nearest proto directory to where your application is running from.","directories":{},"_nodeVersion":"10.7.0","dependencies":{"globby":"^8.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^23.4.2","eslint":"^5.2.0","babel-cli":"^6.26.0","babel-jest":"^23.4.2","commitizen":"^2.10.1","babel-eslint":"^8.2.6","documentation":"^8.0.2","eslint-plugin-jest":"^21.18.0","eslint-plugin-babel":"^5.1.0","prettier-eslint-cli":"^4.7.1","eslint-plugin-import":"^2.13.0","cz-conventional-changelog":"^2.1.0","eslint-config-airbnb-base":"^13.0.0","babel-plugin-transform-strict-mode":"^6.24.1","babel-plugin-transform-async-to-generator":"^6.24.1","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2"},"_npmOperationalInternal":{"tmp":"tmp/proto-finder_0.1.2_1532980065816_0.9626978422979249","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-05-22T17:04:55.278Z","modified":"2026-09-21T18:05:43.230Z","0.1.0":"2017-05-22T17:04:55.278Z","0.1.1":"2017-11-10T19:42:05.187Z","0.1.2":"2018-07-30T19:47:45.888Z"},"author":{"name":"Daniel Olivares"},"license":"MIT","description":"Returns the full-path of a protofile in the nearest proto directory to where your application is running from.","maintainers":[{"email":"daytonpe14@gmail.com","name":"daytonpe"},{"email":"matt.tschoegl@parkhub.com","name":"realtschoegl"},{"email":"alexander.cauble@gmail.com","name":"accloudcoder"},{"email":"jbrooks02@gmail.com","name":"novym"},{"email":"jebenavidez@outlook.com","name":"justin-ben"},{"email":"thiel.talicuran@parkhub.com","name":"thielt"},{"email":"stephen.emerson@parkhub.com","name":"stephemer"},{"email":"nathaniel.brown@parkhub.com","name":"nathaniel.brown"},{"email":"austin.lewis@justpark.com","name":"austin.lewis.justpark"},{"email":"landon.parris@justpark.com","name":"landon.parris"},{"email":"zoe.chamlee@parkhub.com","name":"zchamlee"},{"email":"joni@bek.io","name":"honi"},{"email":"colinc86@gmail.com","name":"electrocampbell"},{"email":"josh.boyle@justpark.com","name":"joshaboyle"},{"email":"loumonth.jack@justpark.com","name":"loumonth.jack"},{"email":"david.yang@justpark.com","name":"davidyang.justpark"},{"email":"dylan.delarosa@justpark.com","name":"delarosadyljp"},{"email":"rj.ellazar@justpark.com","name":"rjellazar"},{"email":"jack.anthony.wall@gmail.com","name":"j4k"},{"email":"hannah.ismail@parkhub.com","name":"hannahi771"},{"email":"jason@jasonlusk.com","name":"mpalpha"},{"email":"shane.frykholm@justpark.com","name":"mrshanef"}],"readme":"# Proto Finder\n\n> Find your protofiles in the nearest proto directory\n\nQuickly find the full path to a protofile by name in the nearest 'protos' directory.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n### findSingleFile\n\nFind a protofile's full path in a 'protos' directory by searching UP  from your current process.\n\n**Parameters**\n\n-   `fileName`  \n\n**Examples**\n\n```javascript\nimport protoFinder from '@parkhub/proto-finder';\n\nconst protoFullPath = protoFinder.findSingleFile('test');\n```\n\n**Meta**\n\n-   **author**: Daniel Olivares\n\n### findSingleFile\n\nGet the full path of a single file by it's name in the nearest 'protos' directory.\n\n**Parameters**\n\n-   `fileName`  \n-   `String`  fileName the name of the file to search for\n\nReturns **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String), [Error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error)>** The full path of the file's location\n","readmeFilename":"README.md"}