{"_id":"yarn-or-npm","_rev":"19-de31e7e74ecf12e5a349ac9e07d6391a","name":"yarn-or-npm","description":"Use Yarn or npm to execute a command","dist-tags":{"latest":"3.0.1"},"versions":{"1.1.0":{"name":"yarn-or-npm","version":"1.1.0","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarnOrNpm":"bin/index.js"},"main":"index.js","repository":{"url":"git@github.com:camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0","npm-path":"^2.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2016 Patrick Camacho\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"yarn-or-npm@1.1.0","dist":{"shasum":"849ed1c3b3ac84a587d80e610ff29f167571c873","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-1.1.0.tgz","integrity":"sha512-ZYPUjxu206zwJcL3gWkvh+tCz9XFFzfjX6bmp+P/LhKaxnsn5nP1eiLHcAg9u0lF+wePNIi9Fzvl/ZXSzLBS0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3y8rlf3Vj3+9gW8LVzzPRDoK8yAFPxeTVj3gJNelZIAiEA/1dXMZ9PgnUxZwEyBUZsx1BgL/f9O3eqPFN6oSBQ15E="}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yarn-or-npm-1.1.0.tgz_1478102554915_0.5307050021365285"},"directories":{}},"1.2.0":{"name":"yarn-or-npm","version":"1.2.0","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarnOrNpm":"bin/index.js"},"main":"index.js","repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"ac3c7d6118f56b90e3758e51981962554ef3ba77","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@1.2.0","scripts":{},"_shasum":"93ef2b749d813741cbc8f2743fe2de147fc2490f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"93ef2b749d813741cbc8f2743fe2de147fc2490f","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-1.2.0.tgz","integrity":"sha512-l6jk1tzL8x5I5GnJzlG0kcGjQm11uPRFywE4xY224RnSMsKIdjRdjw8ooWf307i4Ppb7Q4AbJmnv8TGilUEyEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBAPkGy1tnf22Ds7e4etbdR8nqeqeMI7ki7oeby2ijGgIhAIJKXKBuHYnjjaOJJx/U6FgvRtJH6fgFpvXCx1rqJ+1Z"}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yarn-or-npm-1.2.0.tgz_1478103013871_0.8125626200344414"},"directories":{}},"2.0.0":{"name":"yarn-or-npm","version":"2.0.0","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"b5ce2cdd4a09cf9cf81be400b72ee17c6c0afb3e","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@2.0.0","scripts":{},"_shasum":"c49837dfec07ef470e0163f5220cd669a975ad2c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"c49837dfec07ef470e0163f5220cd669a975ad2c","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-2.0.0.tgz","integrity":"sha512-joiEDRaW0SvUB43T69tqWVE0BmWP7rPET35fXLJDwe+ZZo27ppHTvRj02JHgKdUZkBLDR++nsJqLnUbaDs7fMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1IyFwd0d+dAqB/BEWJ+iNpq20tNhdGIPmg21gOouaYwIhALUDPJY0KZd6/4VuGC6NZVzksLattIiD7a6JUJHAnwhj"}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yarn-or-npm-2.0.0.tgz_1478105774811_0.5546619829256088"},"directories":{}},"2.0.1":{"name":"yarn-or-npm","version":"2.0.1","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"7ac9b155231b48818884432efbb9c18dba298eec","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@2.0.1","scripts":{},"_shasum":"18c6a83e1bfec30010344f2f5cd53b01499148f6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"18c6a83e1bfec30010344f2f5cd53b01499148f6","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-2.0.1.tgz","integrity":"sha512-Kk5KiaB/vo2O+W7qD7eYtO2VLujIvjB5h96z31T/39ZTxmWOgpiwPqHaDSH8RwDX20EkEf3/OIhBiynzwVgkxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwP6F21SQ3wsk/c+y41bxISiSDx7e7vRLci3QyAiDZwAIhAKbDc8x7dd1XhNW2XZKBE43VVo91QNFJvrZFCfPpe8Pj"}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/yarn-or-npm-2.0.1.tgz_1478106633493_0.5419506737962365"},"directories":{}},"2.0.2":{"name":"yarn-or-npm","version":"2.0.2","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"5cef42efc6a04ab0186aa55e5197a552e652d931","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@2.0.2","scripts":{},"_shasum":"76420caf665f0d981701493fb1c5f0e68d78daa5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"76420caf665f0d981701493fb1c5f0e68d78daa5","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-2.0.2.tgz","integrity":"sha512-1kUHiYUgTkTGI4dKPn4bN0JwMPwTCQNS5E/6OL7dHPCEqPngY68fIywICPkIhgMEbPYMOz1NX72CzZ+nf8nEGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhUt00YZgVxbF7SPVFTJB9k3+tPk7mFE5uVtkxwwdUbAiBkLrvGUd9mm/6HPzDiizI9nhudnXwyQ2vahVjs3GLrKA=="}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/yarn-or-npm-2.0.2.tgz_1478107089578_0.7764189848676324"},"directories":{}},"2.0.3":{"name":"yarn-or-npm","version":"2.0.3","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"85895bf1e9bf53dda2fee688fad7164b47af1e13","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@2.0.3","scripts":{},"_shasum":"231539e549a5bed7ad6db43795325cd42af435b7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"231539e549a5bed7ad6db43795325cd42af435b7","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-2.0.3.tgz","integrity":"sha512-h7KqSvPZ/xyKcHBZQOF62Mqxw29AfHjvPpqjpYqOfMqSTcLJj6rW6VAgwxc+AXcd4eXNklbolXsrdyR4e9cXiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEUOzSnZm4Z6pYOVjc0BmbJT3yV618iPH7VX3KZoLW2AIgQtYEu5okt0f9X5DBbQjZE5hsRkPTnZ5QsBa2fmBt4KQ="}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yarn-or-npm-2.0.3.tgz_1485469753937_0.3159466178622097"},"directories":{}},"2.0.4":{"name":"yarn-or-npm","version":"2.0.4","description":"Use Yarn or npm to execute a command","files":["index.js","bin/"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","engines":{"node":">=0.12"},"repository":{"url":"git+ssh://git@github.com/camacho/yarn-or-npm.git","type":"git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","dependencies":{"cross-spawn":"^5.0.0"},"gitHead":"9c9afd389d21d45116d765f35813250b3efc06a7","bugs":{"url":"https://github.com/camacho/yarn-or-npm/issues"},"homepage":"https://github.com/camacho/yarn-or-npm#readme","_id":"yarn-or-npm@2.0.4","scripts":{},"_shasum":"46e38aafce74c350e6c0cca72712fca7410fad98","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"camachgk","email":"patrick@daftdevelopers.com"},"dist":{"shasum":"46e38aafce74c350e6c0cca72712fca7410fad98","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-2.0.4.tgz","integrity":"sha512-NxrQMCWCSorIpeDCmBrgCAEnlNmxcvN5JhwBXNMkrgCXpDQLukQwvbosHD9fMQjU9iGOfOiF8/Bizvb3Xir4wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyvc7KTojvwJN3D/S/57CUx35E8fBGVxhpK4haRMOLzAiAcy3A2zJYWRfHWtH7Wp9mKGepLLQ3dOWTPYdFdc9RVyg=="}]},"maintainers":[{"name":"camachgk","email":"patrick@daftdevelopers.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/yarn-or-npm-2.0.4.tgz_1492562190888_0.07150832959450781"},"directories":{}},"3.0.0":{"name":"yarn-or-npm","version":"3.0.0","description":"Use Yarn or npm to execute a command","license":"MIT","engines":{"node":">=8.6.0"},"repository":{"type":"git","url":"git@github.com:camacho/yarn-or-npm.git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"keywords":["yarn","npm","spawn","command"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","dependencies":{"cross-spawn":"^6.0.5","pkg-dir":"^4.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2016 Patrick Camacho\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"yarn-or-npm@3.0.0","dist":{"shasum":"69d8bc570b7fbc9c846fae0bf23718da390a5ecd","integrity":"sha512-bXCGEGh2B9ScBiND5Jg+E4t7zpuip56C0EKeuoVrCldxtapQjhWB9QUBXB4yWLrtjPpQizDjzwtTI1ir+kN3gg==","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-3.0.0.tgz","fileCount":7,"unpackedSize":5326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOLb/CRA9TVsSAnZWagAAXXcP/R+yws2eL+AHx1Rbpu1T\nageQtgR1jEeGuxTkkN4Xq0XwsQDHXrQM3xPjqJeo6kxFxjvKrP0TqDT29ZVJ\nSV3o3H3dRVcmY0kkhMneFQQv4+604/wRJ9vSM5rcOoOdv1VVmYnSqIhymfKM\nV5ZmQBalkfP94U4zGTJZ8Oz83M88p+KY2j/WGJa7PYQSMWC2Qz3UhDArDF/U\nRYId6SpQULi/rZQiJWfHsp0VRSsoxg2yG1De6IAqeoaieNqH4So4Mf7iSYM3\n4ZxHgBMLg69fx7y1StEK0XyXs/hI6U1pWukwh23gMmb7pPMemw1WqHA47c2u\niUXE6h6n9zN+LETOPIQWhs6ypNNAo/YteNLGGj0LpVi8sGKIvj9Nyl7c896H\nwza2bfW/5ellCxBmbqBHcdfNUvsgA2VMtvynId+bJ4IugCpzhlbGlrzQBMVe\nA143Em0U3o5U3nYOOBiJJhvyOwipwRRGgTmp5H2ip2/J92IH5AVFeQ+VMfDq\nlIWrCZJJO0qYv5kFojJ1f8nMY+ftVObmSSdW7yKxqKqyJK6uyFGkKiXAqnav\nW6/AqNXo4Bj/+tMEKuW+IMsGgB5Zx6CCAIwO2t5k+sHGCmVVtURnt8iVpIP2\nc7xYYUxOrokYTVvZGZIv8k6aXfwoaU2AfG1ORaOJnH2MSs3gFBOz4ds65kti\ngnaF\r\n=Nwcn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHCOGx39ENPFbcOqcilaVhRm9s/mJAfnPKHcDoiLy3dQIhALjekuP6nVf2qGWPG8Q+DDXLNd08PUU7dlH1D+SK25t1"}]},"maintainers":[{"email":"patrick@daftdevelopers.com","name":"camacho"}],"_npmUser":{"name":"camacho","email":"patrick@daftdevelopers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yarn-or-npm_3.0.0_1563997951009_0.7943107447876046"},"_hasShrinkwrap":false},"3.0.1":{"name":"yarn-or-npm","version":"3.0.1","description":"Use Yarn or npm to execute a command","license":"MIT","engines":{"node":">=8.6.0"},"repository":{"type":"git","url":"git@github.com:camacho/yarn-or-npm.git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"keywords":["yarn","npm","spawn","command"],"bin":{"yarn-or-npm":"bin/index.js","yon":"bin/index.js"},"main":"index.js","dependencies":{"cross-spawn":"^6.0.5","pkg-dir":"^4.2.0"},"licenseText":"MIT License\n\nCopyright (c) 2016 Patrick Camacho\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"yarn-or-npm@3.0.1","dist":{"shasum":"6336eea4dff7e23e226acc98c1a8ada17a1b8666","integrity":"sha512-fTiQP6WbDAh5QZAVdbMQkecZoahnbOjClTQhzv74WX5h2Uaidj1isf9FDes11TKtsZ0/ZVfZsqZ+O3x6aLERHQ==","tarball":"https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-3.0.1.tgz","fileCount":7,"unpackedSize":5328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXbXECRA9TVsSAnZWagAAILkQAKL+0L+r/rsXJQ8NauCR\niv0mYpYQmlG0A3p38CKELsuAHEJWoKEhe+n7sJosm727DHjE15nLZUkI7iUF\n+4YgErnJ5HGn2Qtyc62JPRjCXtYLc030wlMmRtOMJHrB+gp/+Orv+BQRRnlO\nk2p/ucv5HHKIiXVzXL1goOz6ML+Y3SmIYuXRGfsB9cwbH40u5QzhVRxkkj1I\n0Lonvox1jBYV2lIBnPTeQhAXgg8G1BPEWeEq0RNJwN935Gqm4/YZIuJ3m577\nEpqw8yV0sIDeB45XKKejZT3froz3u8cQv34ME81Qi1DnEhZ35HHgxgUi2TGd\n2ozZYIYP8EEyBFCreyFb5KMmSi5jJP8bZl4yLxMtmrofhfbcREJCB4g/m3G8\nehdaWSe9F8/SOdcOrHDE++tXlvJx64YRzJq3UeI/TChSqyeif0SDLzhnJai4\nslPFhvaEvIs1fnljtBB1NlS5C5nONZ9KQ1Lkuod9v+WdwFFUWoXmsCQRgmDu\nNmY5MmQkHEumxTQEEzn9OWhxmMFtjDcYjV3rxOuYWS+ofApT+StNY/B166oi\n2vazryB95hAdcyKyUE2vt6fGOUfCC86PLJESWbX5pydYSEVORIpP9xEUuVGj\nvON6/xSnjVj/aiTkaQnOzhfU3nUJAxSDaSygmMcNqvVop/TK2xBpjoPAa469\nMJ7t\r\n=Vcqz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8B7cE1Wi7wCaQuLMV8Nug+JnISi53Xw9qRdPiNucWNAiEAvrjO/UyUbINpF8cUWTuEWCAf8298ksrxLpFU8mgGJuw="}]},"maintainers":[{"email":"patrick@daftdevelopers.com","name":"camacho"}],"_npmUser":{"name":"camacho","email":"patrick@daftdevelopers.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yarn-or-npm_3.0.1_1566422468375_0.25006235050447256"},"_hasShrinkwrap":false}},"readme":"# yarn-or-npm\n\nExecute scripts with Yarn or npm.\n\n```sh\nyarn add -D yarn-or-npm\n# or\nnpm i --save-dev yarn-or-npm\n```\n\nThe client is determined by a series of ordered checks:\n\n1. `yarn.lock` file is in the nearest package directory - **yarn**\n1. `package-lock.json` file is in the nearest package directory - **npm**\n1. `yarn` is installed - **yarn**\n1. Fallback - **npm**\n\n## Module\n\n```js\nimport yarnOrNpm, { spawn, hasYarn, hasNpm } from 'yarn-or-npm';\n\n// String of `yarn` or `npm` returned\nconsole.log(yarnOrNpm());\n\n// Boolean values for hasYarn, hasNpm\nconsole.log(hasYarn());\n\n// Spawn yarn or npm command\nspawn(['init']);\n\n// Spawn sync option\nspawn.sync(['init'], { stdio: 'inherit' });\n```\n\nUnder the covers, there are cached lookup values being used for efficiency. These can be manually cleared:\n\n```js\nimport yarnOrNpm from 'yarn-or-npm';\nimport { spawnSync } from 'child_process';\n\nconsole.log(yarnOrNpm.hasYarn()); // false\n\nspawnSync('npm', ['i', '-g', 'yarn'], { stdio: 'inherit' });\n\nconsole.log(yarnOrNpm.hasYarn()); // false (cached)\n\nyarnOrNpm.clearCache();\nconsole.log(yarnOrNpm.hasYarn()); // true\n```\n\n## CLI\n\n```sh\nyarn-or-npm <command>\n# Can also use `yon` shorthand\nyon <command>\n```\n\n## Package\n\nModules with bin files can be called directly in `package.json` scripts:\n\n```json\n{\n  \"devDependencies\": {\n    ...\n    \"yarn-or-npm\": \"^1.0.0\"\n  },\n  \"scripts\": {\n    \"compile\": \"babel src --out-dir dist\",\n    \"lint\": \"eslint .\",\n    \"prepublish\": \"yarn-or-npm run lint && yarn-or-npm run compile\"\n  }\n}\n```\n","maintainers":[{"email":"patrick@daftdevelopers.com","name":"camacho"}],"time":{"modified":"2022-06-29T07:02:54.186Z","created":"2016-11-02T15:44:55.284Z","1.0.0":"2016-11-02T15:44:55.284Z","1.0.1":"2016-11-02T15:55:53.398Z","1.1.0":"2016-11-02T16:02:35.136Z","1.2.0":"2016-11-02T16:10:14.128Z","2.0.0":"2016-11-02T16:56:15.023Z","2.0.1":"2016-11-02T17:10:35.307Z","2.0.2":"2016-11-02T17:18:11.529Z","2.0.3":"2017-01-26T22:29:14.152Z","2.0.4":"2017-04-19T00:36:32.706Z","3.0.0":"2019-07-24T19:52:31.142Z","3.0.1":"2019-08-21T21:21:08.484Z"},"repository":{"type":"git","url":"git@github.com:camacho/yarn-or-npm.git"},"author":{"name":"Patrick Camacho","email":"patrick@daftdevelopers.com"},"license":"MIT","readmeFilename":"README.md","keywords":["yarn","npm","spawn","command"]}