{"_id":"git-branch-is","_rev":"12-ca55d34544625dc5632eba9f94bd2076","name":"git-branch-is","dist-tags":{"latest":"5.0.0"},"versions":{"0.1.0":{"name":"git-branch-is","version":"0.1.0","keywords":["assert","assertion","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@0.1.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"dist":{"shasum":"bef5a6113a30f4007e7c002f9ba4cf37925c171f","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-0.1.0.tgz","integrity":"sha512-LmHj1qPLnKhQiKcpv0jk7LMnwAdOpjwQ0QgzOE0cmjhiQf8BF2CoVnteZ0iQb2lNC7y/cDCNEf/bg1zNxsdUbQ==","signatures":[{"sig":"MEUCIQCC+t50LAlH7i302lGxz/p0A29TmG6ipK3SmqgOHwLqBgIgfKkVVOlv+rnSapevaAZ8GwDPP40YoSUOHQyT8BvhusI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bef5a6113a30f4007e7c002f9ba4cf37925c171f","engines":{"npm":">=1.3.7","node":">=0.10"},"gitHead":"c485646eb579ac95671855909673295f7db8d52d","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint . && echo ESLint passed.","version":"github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"mocha --recursive test","preversion":"node ./bin/git-branch-is.js master && travis-status -b -c -qwx && depcheck && david","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install david depcheck travis-status","test-unit-cov":"istanbul cover _mocha -- --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"3.7.5","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"_nodeVersion":"4.3.1","dependencies":{"commander":"^2.9.0"},"devDependencies":{"pify":"^2.3.0","jsdoc":"^3.4.0","mocha":"^2.3.4","eslint":"^2.3.0","rimraf":"^2.2.0","codecov":"^1.0.1","nodecat":"^0.1.0","bluebird":"^3.3.0","istanbul":"^0.4.1","coveralls":"^2.11.6","eslint-config-airbnb":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is-0.1.0.tgz_1459575814190_0.021210739854723215","host":"packages-12-west.internal.npmjs.com"}},"1.0.0":{"name":"git-branch-is","version":"1.0.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@1.0.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"5a5f46bf4aaf5aaaa68d3d6445a8d559aae52fad","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-1.0.0.tgz","fileCount":15,"integrity":"sha512-b+r8qTz5DWalGgUfM94lbymRCzlS8qi9mFcfjcnek7ZN9cozzZrfySI/Tz7uitWx9BBn+0RD+GcLEtOM2e92qQ==","signatures":[{"sig":"MEUCIQD2IKJbOf6yY/XGM9sHeC13zS9GmYwVPc8Pmhhu3RQrJwIgP9QxIFx61FNRG9AZ2H604XTKUP6M0b1IwVgjCs4koUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWy4CRA9TVsSAnZWagAAzrkP/0Qil2XkEE8sDlyiDo5F\nGFfljGQqnm/R64dr/6Im5LNxVa4VCetX/jAt9O+13NxFMPBZqA3sJHJ2otsm\nyfHY5KObGc6qSid1U6qT6YHg5U+bHFTMFyE6edFHs0s6jKMDLPpDjpAAnt7C\nDuYlxWQtmiko7ZQn3MHmpkh/wMb+PgQY8zbUPxDPxyg8Fk+PAD08Xn1mUCvb\ntdhTF43DdWX0GTTsHYC8mQCbxFtIQ2LfFs2LitPL/Libtnuk3Z9RLxtMXeE6\n5A7nX9QQzorAuh/EqV+ffGzXFytZY0v3KWoOiroLactwvJqK9xCRtimev1tL\nJy0qy2b7KCsg82YK2AoccxnGtwW7Rx8ing7joTEMmsLssSX4/irjhCx/UOpZ\nhPHRuaXLdGB4FvCyQxaiDbnYba+X0bFNDLhhTm4djwG5RRLa0fINlAiXZt4/\nsb4vMN4H9qoZQo1jQL7++y8VRIlxdRmr3n0eK2hsQjp0Y2xGwpqFL/oP45oA\nx7WymOoqQ+nD9Uj9yTMdqJo+Kyz+Ew0D2E42VJJbN2xPrOU70nTyNU4nossR\nHu6CmylF89bLuvEigE4VZRHZdsiqjXAgJ5u8exKGsfo0MfJQeXdp/YglEYkg\nzHlr2Aj3VLQM76++NWnAh0V7maHbAEsp2ze8g63Li2FKYqkl1MntfcUvTo/I\nQb4p\r\n=6N6U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"npm":">=1.3.7","node":">=4"},"gitHead":"46bb08cf40c5df1900e81418874d8ab61f6ea712","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint . && echo ESLint passed.","version":"github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"mocha --recursive test","preversion":"depcheck --ignore-dirs doc && david -i nyc && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install david depcheck travis-status","test-unit-cov":"nyc mocha --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.0.1","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"greenkeeper":{"ignore":["nyc"]},"_nodeVersion":"8.11.2","dependencies":{"commander":"^2.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^11.0.0","pify":"^3.0.0","jsdoc":"^3.4.1","mocha":"^5.0.0","eslint":"^4.6.1","rimraf":"^2.2.0","codecov":"^3.0.0","nodecat":"^1.0.0","bluebird":"^3.3.0","coveralls":"^3.0.0","eslint-plugin-import":"^2.7.0","eslint-config-airbnb-base":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_1.0.0_1527868598460_0.8333835330665413","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"git-branch-is","version":"2.0.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@2.0.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"06ebde67d4c56fa5e76b149e10f3e9ec4dc7a60a","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-2.0.0.tgz","fileCount":6,"integrity":"sha512-GTVBpC4WrZxfX2C+FTzyg5YZHGJrEFYkAw9pjyFMFsv/YPRI8e078OQ7LRF04rz1IQlobfOuDUJI2Xlk5uaKZg==","signatures":[{"sig":"MEQCICSV0qV2MAwOW/M1ZFN3Qyr+pnaRd9dgjjNJM3eI31MbAiB/xmyN8bhgLxaTTn1BTXZaFYCqt1ykQ7lQFCo/ONaE2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNqvJCRA9TVsSAnZWagAAk6sP/0vL1k4LB+ikRwiqQUY7\nEpDkdSXX6fZeRIpoNCglDJn2RNE2wRZvRKaIapARPmbhHYWj/fUjhGZ0EjKP\nd/LlhsF03dIzZGtTS+h4KBRdQSqUFGgoL8IDFRAMX4wyBwE3nBxpr2dSu1QL\nGIJPSP1qhMUNbqZR/xjNlTkMyE1+tWYOUCcEXLgVCshxpFEKGqoowso3sQvf\nzkgDgP4RzKohMLCRBWFB09I1KoyH6wuLeJPa0Ox5yWmbILYaHFrDzFWbY3J8\nHNivEJne16m1QTGrTuZRATspuMTDuibs13I2neihRL4ZcYIOtv819T2Nsvuz\n/vWN6purNG2bJwgZqB1d2blzGGn++4vLkC4MnxuGGZA/Fy1APWyW0ltAJTI4\naXN+rDxESOzhEZiM/4XRKbaBpB6zc4BdgRjhwewsb3741R+76h3EFGcv0U63\nzVfWDl2bzvTcFaL3VbdCDbxyLZZM4UI+qIfKeKhFwAUG671Pud+12EnAmoGv\nQxdDI26/IXfCjyCGnaKLLYWNR0VKrbOYwGF4LxmlM/r0NQt//rkPCJZsiY+i\n1frIcntEaKlmFB0aAEM/7zENApzaFH84s2m7mag96UgtSNYY20kt5ViJs2m+\n82y5xvsDge5r9TiGQKQIALtPAmR/VwTOlnyoIOUxVHSBYBfBITA2fxvO4aNN\nAL5M\r\n=iF+0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"npm":">=1.3.7","node":">=6"},"gitHead":"0beba288f8a533498d3689faee34413365d0d584","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint . && echo ESLint passed.","version":"github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"mocha --recursive test","preversion":"depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install david depcheck travis-status","test-unit-cov":"nyc mocha --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.1.0","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"greenkeeper":{"ignore":["eslint"]},"_nodeVersion":"8.11.2","dependencies":{"commander":"^2.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","pify":"^3.0.0","jsdoc":"^3.4.1","mocha":"^5.0.0","eslint":"^4.6.1","rimraf":"^2.2.0","codecov":"^3.0.0","nodecat":"^1.0.0","coveralls":"^3.0.0","eslint-plugin-import":"^2.7.0","greenkeeper-lockfile":"^1.15.1","eslint-config-airbnb-base":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_2.0.0_1530309577271_0.13579137303926658","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"git-branch-is","version":"2.1.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@2.1.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"06bd3760905cc7218bec4b89595840b6b0a1b31b","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-2.1.0.tgz","fileCount":8,"integrity":"sha512-qUwr2jRn5nBN/DAPosK9VQxaedVhiPyZmGYQdA9UNOsec+hfZIOyCX4bB/WnlEHLa1fjsNscHoCvWLs0EcQXAg==","signatures":[{"sig":"MEUCIQDSr+BBI+EK0cwjJkeZDs8+wZs2MbpRd5XxTmT85Ny35QIgec00O2fUoR1OxddenkhHsxNBk3dqGGzFHhWze7HY4k0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrQmKCRA9TVsSAnZWagAAdsoP/RQWEDoLG3DUgvUg2hxE\n42CykZNGa+xQDoaxJtJaUeq9AsXWxaD56ein+m6cJkwDo9Zvx6cFHq1Y/7gH\nwkPXynWK0nhtPbwt7oMU8rq3MwYL6SJZ3Ft/7kMitAG6km3ADm8w1PeQ2LzM\no91FX+A+KLoEnbmDJDgY5jsiT7mu3XL5L/QSoyetEMGnDsytluyfHYMo2EIx\nLsjMJYiNUX6N7k9VPLLhJmqyhWdsZEEO0GxRPCvsN5dhzfAiZO65W/0f4MgU\nHH1qfZPnLnqLBJUVafOUieOF5pYtdfP4Kr5zT4NGyrzr1/Y7OjWuu3DErrAM\nSm5traV0mMxoYgNGaXOLDYD7b5sSMzpMalVpcQRHWkRaXStHT5xKhHU7IOFO\nb8G9qL2R3No5i3DKxCD80aReHqqz5PS6PpDNFetKNtSf+YSWCALL+R6i4/Dm\nG0N5dBG10lSvkB2YEcxugxkLSptNPbUNyu0TJ4LwLPACMVrMaMQd06Z+xVuM\nEPInPJIWt0nBOCknhQ/0EieI1Rv+hMi0rcaTNzAAcRjLEi/QNM2purnw9CK1\nWSzKtMer5+G6zqwB54jgxhq+9UVZXY4uDJfdObQq/yJd2zrqE7SnpJrEcayX\nlJQgzgyw5qtrQRKEbmbmK9ZtXAM68RDRA/wruOqy3CPq3B9/6sB24fPN/m+b\nmwlt\r\n=rucI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"npm":">=1.3.7","node":">=6"},"gitHead":"2fa69a3af39ffd8b72d907259700ae3f4e550b9f","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint . && echo ESLint passed.","version":"github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"mocha --recursive test","preversion":"check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install david depcheck npm-audit-resolver travis-status","test-unit-cov":"nyc mocha --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.4.1","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"_nodeVersion":"8.11.2","dependencies":{"commander":"^2.9.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.0.0","pify":"^4.0.0","jsdoc":"^3.4.1","mocha":"^5.0.0","eslint":"^5.0.0","rimraf":"^2.2.0","codecov":"^3.0.0","nodecat":"^2.0.0","coveralls":"^3.0.0","eslint-plugin-import":"^2.14.0","greenkeeper-lockfile":"^1.15.1","eslint-config-airbnb-base":"^13.1.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_2.1.0_1538066825890_0.5389702774410416","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"git-branch-is","version":"3.0.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@3.0.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"bbc5b8495fcce77da60e0eb589e41af70fcd06f7","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-3.0.0.tgz","fileCount":7,"integrity":"sha512-HvOU7/TBj25NeXVzmzEMVmsLFYQD8wP/orGkGaHl1unWDx7ZZAiaulPAydUCGd+DPO3IpUjyC4zBAn2oCgaZ7Q==","signatures":[{"sig":"MEUCIQCz2+Ozq8FgYExgRVrMGW0OKNP1ieLU0C4YOriqEmZwLgIgeUJP7mhI843dF9QlAtu0NjiD6RSKL24coYH+GuLfMRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTXugCRA9TVsSAnZWagAAwwkP/A/SA8zapg5fHIFbxXfr\n71Yy4DG7CXjbtezU9GuiOPOukjyjwJfKAcwBbYljOufc4qw3VNnEIvaskP4P\n3y9vUwrE0cGeXOuU4m7vP+sOjvW/V22JWaJB5xsuImUpFaS+lxcOqBH0DRsH\nbtuOwr/OZOMPLeAo3TW5is0d9n/mBGEg8MH7vMvpqjM1EXjwqVKHPZrDONpg\nFSigabX1rlav3Tk0eycLQ+GpI4iQom1CYjUlGuGXSTv8N2l01kEanVtbSKcK\nsRmmlxEwJ0Odbi6YR2mpZUG5quHys1IWqKclJaSdU+w+xa0R0rpV52mRoXTZ\nGQBVh3OvQVNKQXS/wYnMdRSrYd1rkks8OxHe6zyCnB5hix7LbdxFg7Qqv2CE\nEe6rFDyXjxN32wOIQK9bgzJbxoxh9t8d97+jJX1rDEx2pH1kFcELMugOFpuN\nDlFD86TeVccWmqgqZ+0ItqcWH3+DeVY7GmEeAeccV5fU7bpfK6tPtIp49oc3\njAUbBfaI271/kJ0Lf6THCwnYlmAcnV/L4H/Oy+nIeEpBjzIVSRbuPBL+03RZ\nzR88L9xoPK/2FeaQdA2f/wDwwQXyY/vUy3vnkN9QX/d6rW8NTg2vcHlgOBKZ\nQt04SCxkl9T1v+IHeevEoLwmNHen1U+wvfpJmaFAT+ecV5tXDXH+ZvgDMMEx\n2nev\r\n=azP3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","mocha":{"exit":false,"checkLeaks":true},"engines":{"npm":">=1.3.7","node":">=8"},"gitHead":"361e987f42aa4d93a8a1064a50c4cc6f6eb8716b","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint . && echo ESLint passed.","version":"github_changelog_generator -t \"$npm_config_gcg_github_token\" --future-release \"$npm_package_version\" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"mocha --recursive test","preversion":"check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install david depcheck npm-audit-resolver travis-status","test-unit-cov":"nyc mocha --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.10.3","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"_nodeVersion":"10.15.2","dependencies":{"commander":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","pify":"^4.0.0","jsdoc":"^3.6.0","mocha":"^6.0.0","eslint":"^5.0.0","rimraf":"^2.2.0","codecov":"^3.0.0","nodecat":"^2.0.0","coveralls":"^3.0.0","eslint-plugin-import":"^2.14.0","greenkeeper-lockfile":"^1.15.1","eslint-config-airbnb-base":"^13.1.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_3.0.0_1565359007742_0.4698366263675824","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"git-branch-is","version":"3.1.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@3.1.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"ec029ca77fff3dc1a3b31f15520b00de7016676d","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-3.1.0.tgz","fileCount":6,"integrity":"sha512-Lmqr7r2qJn5m7r8gNk9wGeF4C+y8ZyPypa8YLrNNc25qStKqrAg+uRpRZpXK9/TjPMAlY8MjDZW52OAG6RIG8w==","signatures":[{"sig":"MEQCICl6dai7wlJFy4JDIxe5JAuVFZVicWYTUjvMv5l3zDuiAiA6plR0A6LSy4ycwLowb62smXkFRatPBMt10eVA6ABAIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0Jb1CRA9TVsSAnZWagAANUQP+gNqyYScMeium+1Wt4Ah\nsa2pXkMe5hMgNGvRW1cZ5bszs0j274hMPwRBELW00g76aMI++dS28Q38LUJl\n18V2pfWzynMy9xwF0CJQjq4a6FIMVnajCFp5qtkBDjNZ1ajLjvskOnFm3N/R\nYkETKdYIh/q2gCymANAu/xAhXBmF1hljUWQC1J4I5xJ/iHO5EMEb0jlnJ2cK\npU1bQY+t/BZ97h8/EhsTSfU7CwnsLr+ygtjBh6HclSHPB1U/xE9LSxkVL70H\nRDgBautGQ/GOVOg4dxkNwSz3wGy6sAgr9BOgj2KyYIW5suSp7+IjxNRxQo5N\nZuPTvJ0gHC6+yhwL6m3+Khg3DTmeqZnBqbbuU9pSYsF+yyavqu7vtWJCxDGH\nqMWvBAQDCIfJGrvhAoIiPf0E4ZeCi5J18i33j4rEjTQEOVnPgc3lte/OVIrb\nr5U2KUNmZG+WTVfQudhW2/xdCbYWvxGXmBA6Z4DWuPlIk0y/rNc9uEyhxQPA\nx3cJNh6aSKDatH2oEloQ9dIBFs/qrjPEHWWK2xTyMtSZc7zCKfVI5BmgvLT4\nYygPu979bzrA2rpCh/4dTwIlSZKKETq9EQme7FQFyxPyYod498vQbkmDbF0x\nCiaCIVkP172Ki1jpeefDyofJ1WjP5lxcCiQS4lUrmIipKl5Ns5424Fcxzig3\nT+so\r\n=P+Jr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","mocha":{"exit":false,"checkLeaks":true},"engines":{"npm":">=1.3.7","node":">=8.3"},"gitHead":"70ac6a7c3ac8a06c73e6d783f0eff020be68b091","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint --report-unused-disable-directives . && echo ESLint passed.","version":"npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -u","test-unit":"mocha --recursive test","preversion":"npm run test-cov && nyc check-coverage --statements 95 && check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david && node ./bin/git-branch-is.js master && travis-status -b master -c -w -x && appveyor-status -b master -c -w -p kevinoid/git-branch-is","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","version-deps":"npm install conventional-changelog-cli david depcheck git-branch-is npm-audit-resolver travis-status","test-unit-cov":"nyc mocha --recursive test"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.13.0","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"greenkeeper":{"ignore":["eslint","eslint-config-airbnb-base","eslint-plugin-import","eslint-plugin-node","eslint-plugin-promise","eslint-plugin-unicorn"]},"_nodeVersion":"10.17.0","dependencies":{"commander":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","jsdoc":"^3.6.0","mocha":"^6.0.0","eslint":"^6.3.0","rimraf":"^3.0.0","codecov":"^3.0.0","nodecat":"^2.0.0","coveralls":"^3.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.18.2","greenkeeper-lockfile":"^1.15.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^13.0.0","@kevinoid/eslint-config":"^1.0.1","eslint-config-airbnb-base":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_3.1.0_1573951221224_0.9117344541949697","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"git-branch-is","version":"4.0.0","keywords":["assert","assertion","cli","git","test"],"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","_id":"git-branch-is@4.0.0","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","bin":{"git-branch-is":"bin/git-branch-is.js"},"nyc":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"dist":{"shasum":"2d80b6204c0178f6c70ec1aefdd1998ebd3dbb82","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-4.0.0.tgz","fileCount":6,"integrity":"sha512-isA1/lMHEaorz2JpcqmSZMnS1EerfMqQdawJ2eebU2MVUI8QWiab0iYrBbs4zaAEPVCPVGYXOGGZVeQFSjCGzg==","signatures":[{"sig":"MEUCIEmuDMmz9Qz5roPQZ688d9/hQpWp4xh7f75s1gr7Hk/pAiEAgX0fyalYWcsO4Zuw8SBpk7AtFL5Sc1WtPLQWvfNj0Ns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJKkECRA9TVsSAnZWagAANVMQAIOlwN8KcYay36DhPd6X\nOhcGaZqJbrFB5gyoyRi0Pbr6DQ0uesZ9fD+NnHYHtD2Yt/TPJCBH1wXi4DIP\n8VG+F5vlEyPkx2PpV1gA9TmtLc8hLkzKoHn0JhJdKhHuwaZUb7XdMS5jMCXb\nNibFo5BBhH/bfkJGAggjE6fBmqlhWrokcQthBPo1GkIuoeSggJ+rZ+4MRf5M\nJO8q9hHUu/DJQIccAL0aG0IQrY2OhA4Hpn2TE2D2Fvk9Y+Yf8nP5j+HggPPJ\npfLSh2lYj2q/gfstLJlBIVQCEOpxkNFB9ry9F0rrRgdOXrW+3vHrUrYJabCZ\noH8rSxkQCblY8cfV1ccNvLmjQRaOYncd+zCVFcxTo/iASV5NrDO83XNbcTm7\nKUyIYM5GUKqiuCLLasxcsr9rS2+tQjx/Nz0g4/UQ/1KtsNdKRlQEsVOKGNMh\nafq/QkAdzOnj4JNjKWlgGM+bc3MMSbNdP1v0aiCDFB5br4enQblyTplor83U\nRGJj5I+n1CYamK9sEYVHkjgcEiuGV02aBB+4Vm/XJ2s5Kese3TgG/aW3EdzG\nlY0f5Bq+ERZQbq+c265B+6o2VZWsI0eA4CK0Cub+KyfpjIoHBS4GPX93bBwP\nd4VObJ+PqLsjCCgjB2KeZ17pvAjL4PXUQpOOtCakJ0jSKi53O2GifOLoEre+\ng5y2\r\n=18w4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","david":{"//":"ESLint packages must be updated together.  Only warn about @kevinoid/eslint-config","ignore":["eslint","eslint-config-airbnb-base","eslint-plugin-import","eslint-plugin-jsdoc","eslint-plugin-node","eslint-plugin-promise","eslint-plugin-unicorn"]},"mocha":{"exit":false,"checkLeaks":true},"engines":{"npm":">=1.3.7","node":">=10.13"},"gitHead":"96d584492070318a75e2433366ce7bcd728bf74b","scripts":{"doc":"npm run doc-js && npm run doc-spec","lint":"npm run lint-js && npm run lint-doc","test":"npm run lint && npm run test-unit","clean":"rimraf coverage && rimraf doc","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","lint-js":"eslint --report-unused-disable-directives . && echo ESLint passed.","version":"npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","test-cov":"npm run lint && npm run test-unit-cov","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -u","test-unit":"mocha --parallel --require mocha-ur2ue --require ./test-lib/root-hooks.js --recursive test","preversion":"npm run test-cov && nyc check-coverage --statements 95 && depcheck --ignore-dirs doc --ignores mocha-ur2ue && david && node ./bin/git-branch-is.js master && travis-status -b master -c -w -x && appveyor-status -b master -c -w -p kevinoid/git-branch-is","upload-cov":"codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info","postpublish":"git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","pretest-unit":"node test-bin/set-up-test-repos.js","version-deps":"npm install conventional-changelog-cli david depcheck git-branch-is travis-status","posttest-unit":"rimraf test-repos","test-unit-cov":"nyc npm run test-unit"},"_npmUser":{"name":"kevinoid","email":"kevin@kevinlocke.name"},"repository":{"url":"git+https://github.com/kevinoid/git-branch-is.git","type":"git"},"_npmVersion":"6.14.7","description":"Assert that the name of the current branch of a git repository has a particular value.","directories":{},"_nodeVersion":"10.21.0","dependencies":{"commander":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","jsdoc":"^3.6.0","mocha":"^8.0.1","eslint":"^7.3.0","rimraf":"^3.0.0","codecov":"^3.0.0","nodecat":"^2.0.0","coveralls":"^3.0.0","mocha-ur2ue":"^1.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-jsdoc":"^30.0.3","escape-string-regexp":"^4.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^21.0.0","@kevinoid/eslint-config":"^10.0.0","eslint-config-airbnb-base":"^14.2.0"},"_npmOperationalInternal":{"tmp":"tmp/git-branch-is_4.0.0_1596238083169_0.7176644399613525","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"git-branch-is","version":"5.0.0","description":"Assert that the name of the current branch of a git repository has a particular value.","keywords":["assert","assertion","cli","git","test"],"license":"MIT","homepage":"https://github.com/kevinoid/git-branch-is","bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"repository":{"type":"git","url":"git+https://github.com/kevinoid/git-branch-is.git"},"type":"commonjs","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"bin":{"git-branch-is":"bin/git-branch-is.js"},"//":"All scripts should run in POSIX sh and Windows cmd.exe","scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -u","clean":"rimraf coverage && rimraf doc","doc":"npm run doc-js && npm run doc-spec","doc-js":"rimraf doc/api && jsdoc -c jsdoc.conf.json .","doc-spec":"rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml","lint":"npm run lint-js && npm run lint-doc","lint-doc":"jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.","lint-js":"eslint --report-unused-disable-directives . && echo ESLint passed.","release":"git -C doc push && git push --follow-tags origin main gh-pages && echo \"Create a GitHub Release (from CHANGELOG.md) to run publish workflow.\"","postversion":"rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"","preversion":"npm run test-cov && c8 check-coverage --statements 95 && depcheck --ignore-dirs doc --ignores=\"eslint-*,rimraf\" && david && node ./bin/git-branch-is.js main && hub-ci-status -vv --wait","test":"npm run lint && npm run test-unit","test-cov":"npm run lint && npm run test-unit-cov","test-unit":"node --disable-proto=throw --throw-deprecation --unhandled-rejections=strict node_modules/mocha/bin/mocha.js --require ./test-lib/global-fixtures.js --require ./test-lib/root-hooks.js --parallel --recursive test","test-unit-cov":"c8 --reporter=lcov --reporter=text npm run test-unit","version":"npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && \"${npm_config_shell:-${SHELL:-bash}}\" && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md","version-deps":"npm install conventional-changelog-cli david depcheck git-branch-is hub-ci-status"},"dependencies":{"commander":"^15.0.0"},"devDependencies":{"@kevinoid/eslint-config":"^34.0.0","c8":"^11.0.0","escape-string-regexp":"^5.0.0","eslint":"^9.35.0","globals":"^17.0.0","jsdoc":"^4.0.0","mocha":"^11.0.1","nodecat":"^2.0.0","rimraf":"^6.0.0"},"engines":{"node":"^20.19 || >=22.12","npm":">=1.3.7"},"mocha":{"checkLeaks":true,"exit":false},"c8":{"exclude":["test","test-bin","test-lib"],"reporter":["lcov","text"]},"david":{"// eslint":"Must match version from peerDependencies of @kevinoid/eslint-plugin","ignore":["eslint"]},"gitHead":"e3bb8e6ac3107d3a2f7c711ab6380dc69e05d016","_id":"git-branch-is@5.0.0","_nodeVersion":"26.2.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-c4E2Gs4zha5ia8woo/xvWH/mFmGotDMBcAUPhSTMjsD2bC92TON4AwH9c45yWCVxbz+3NtjQngk7uKznll5uOw==","shasum":"5d7a06661286acd153bed3d8216f903155a3f8ea","tarball":"https://registry.npmjs.org/git-branch-is/-/git-branch-is-5.0.0.tgz","fileCount":5,"unpackedSize":21676,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/git-branch-is@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICEKNMz8jMY0wpWzuNJM+uUIGBI/gfMzbiEcyoiWTLaYAiEA166DT/w3KDq5q+iMFZJ5ttXwQjq1Z5SupeMwKBR+dK8="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:37ed0670-e726-48c8-9ee1-642905454e93"}},"directories":{},"maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-branch-is_5.0.0_1780176391694_0.6939984704585325"},"_hasShrinkwrap":false}},"time":{"created":"2016-04-02T05:43:34.726Z","modified":"2026-05-30T21:26:32.220Z","0.1.0":"2016-04-02T05:43:34.726Z","1.0.0":"2018-06-01T15:56:38.547Z","2.0.0":"2018-06-29T21:59:37.343Z","2.1.0":"2018-09-27T16:47:06.056Z","3.0.0":"2019-08-09T13:56:47.862Z","3.1.0":"2019-11-17T00:40:21.346Z","4.0.0":"2020-07-31T23:28:03.294Z","5.0.0":"2026-05-30T21:26:31.851Z"},"bugs":{"url":"https://github.com/kevinoid/git-branch-is/issues"},"author":{"name":"Kevin Locke","email":"kevin@kevinlocke.name"},"license":"MIT","homepage":"https://github.com/kevinoid/git-branch-is","keywords":["assert","assertion","cli","git","test"],"repository":{"type":"git","url":"git+https://github.com/kevinoid/git-branch-is.git"},"description":"Assert that the name of the current branch of a git repository has a particular value.","maintainers":[{"name":"kevinoid","email":"kevin@kevinlocke.name"}],"readme":"`git-branch-is`\n===============\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/kevinoid/git-branch-is/node.js.yml?branch=main&style=flat&label=build)](https://github.com/kevinoid/git-branch-is/actions/workflows/node.js.yml?query=branch%3Amain)\n[![Coverage](https://img.shields.io/codecov/c/github/kevinoid/git-branch-is/main.svg?style=flat)](https://app.codecov.io/gh/kevinoid/git-branch-is/branch/main)\n[![Dependency Status](https://img.shields.io/librariesio/release/npm/git-branch-is.svg?style=flat)](https://libraries.io/npm/git-branch-is)\n[![Supported Node Version](https://img.shields.io/node/v/git-branch-is.svg?style=flat)](https://www.npmjs.com/package/git-branch-is)\n[![Version on NPM](https://img.shields.io/npm/v/git-branch-is.svg?style=flat)](https://www.npmjs.com/package/git-branch-is)\n\nAssert that the name of the current branch of a git repository has a particular value.\n\n## Introductory Example\n\nTo check that the current branch is named `release` and print an error if not,\nrun the following command:\n\n```\n$ git-branch-is release\nError: Current branch is \"main\", not \"release\".\n$ echo $?\n1\n```\n\nThis can be useful as part of a [`preversion`\nscript](https://docs.npmjs.com/cli/version) in `package.json`:\n\n```json\n{\n  \"name\": \"super-cool-package\",\n  \"version\": \"1.2.3\",\n  \"scripts\": {\n    \"preversion\": \"git-branch-is release && echo Preversion checks passed.\"\n  }\n}\n```\n\n## Installation\n\n[This package](https://www.npmjs.com/package/browserify) can be installed\nusing [npm](https://www.npmjs.com/), either globally or locally, by running:\n\n```sh\nnpm install git-branch-is\n```\n\n## Command Usage\n\nThe command options are intended to be similar to `git` and are documented in\nthe `--help` output:\n\n```\nUsage: git-branch-is [options] <branch name>\n\nOptions:\n  -C <path>           run as if started in <path>\n  --git-arg <arg>     additional argument to git (can be repeated) (default: [])\n  --git-dir <dir>     set the path to the repository\n  --git-path <path>   set the path to the git binary\n  -i, --ignore-case   compare/match branch name case-insensitively\n  -I, --invert-match  inverts/negates comparison\n  --not               inverts/negates comparison (same as --invert-match)\n  -q, --quiet         suppress warning message if branch differs\n  -r, --regex         match <branch name> as a regular expression\n  -v, --verbose       print a message if the branch matches\n  -V, --version       output the version number\n  -h, --help          output usage information\n```\n\n## Additional Command Examples\n\n### Regular Expression Matching\n\nTo check that the current branch starts with `release/` using a regular\nexpression:\n\n```\n$ git-branch-is -r \"^release/\"\nError: Current branch \"main\" does not match \"^release/\".\n$ echo $?\n1\n```\n\nNote:  Be careful to quote patterns to avoid shell expansion or special\nhandling (e.g. POSIX shells expand `*` and `cmd.exe` treats `^` specially).\n\n### Case-Insensitive Matching\n\nTo check that the current branch starts with `release/` case-insensitively\nusing a regular expression:\n\n```\n$ git-branch-is -i -r \"^release/\"\nError: Current branch \"main\" does not match \"^release/\".\n$ echo $?\n1\n```\n\n### Inverted/Negated Matching\n\nTo check that the current branch is not `main`, use `-I`, `--invert-match`,\nor `--not` (all functionally equivalent, use whichever you prefer):\n\n```\n$ git-branch-is --not main\nError: Current branch is \"main\".\n$ echo $?\n1\n```\n\n## API Usage\n\nTo use the API with a callback function:\n\n```js\nconst gitBranchIs = require('git-branch-is');\ngitBranchIs('main', function(err, result) {\n  if (err) console.error(err);\n  else console.log(result ? 'On main' : 'Not on main');\n});\n```\n\nAlternatively, if a callback is not provided, `gitBranchIs` will return a\n`Promise`:\n\n```js\nconst gitBranchIs = require('git-branch-is');\ngitBranchIs('main').then(\n  function(result) { console.log(result ? 'On main' : 'Not on main'); },\n  function(err) { console.error(err); }\n);\n```\n\nAdditionally, instead of a string, a checking function can be passed to\nperform arbitrary checking against the branch name:\n\n```js\nconst gitBranchIs = require('git-branch-is');\ngitBranchIs(function(branchName) { /^main$/.test(branchName); }).then(\n  function(result) { console.log(result ? 'On main' : 'Not on main'); },\n  function(err) { console.error(err); }\n);\n```\n\n## API Docs\n\nTo use this module as a library, see the [API\nDocumentation](https://kevinoid.github.io/git-branch-is/api).\n\n## Rationale\n\nWhat's the value of this command over scripting with `git` directly?  Good\nquestion.  The [Introductory Example](#introductory-example) could instead be\napproximated with the following:\n\n```json\n{\n  \"name\": \"super-cool-package\",\n  \"version\": \"1.2.3\",\n  \"scripts\": {\n    \"preversion\": \"if [ \\\"$(git symbolic-ref HEAD)\\\" = release ] ; then echo Preversion checks passed. ; else echo Error: Not on branch release. ; exit 1 ; fi\"\n  }\n}\n```\n\nFor packages which are only targeting POSIX systems, this may be a preferable\nsolution.  However, it doesn't work on systems which don't support the POSIX\nshell language (e.g. Windows, which runs scripts in `cmd.exe`).  To support\nthese systems it is necessary to either introduce a dependency on Bash, to\nuse this script, or code up something else.\n\n## Contributing\n\nContributions are appreciated.  Contributors agree to abide by the [Contributor\nCovenant Code of\nConduct](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html).\nIf this is your first time contributing to a Free and Open Source Software\nproject, consider reading [How to Contribute to Open\nSource](https://opensource.guide/how-to-contribute/)\nin the Open Source Guides.\n\nIf the desired change is large, complex, backwards-incompatible, can have\nsignificantly differing implementations, or may not be in scope for this\nproject, opening an issue before writing the code can avoid frustration and\nsave a lot of time and effort.\n\n## License\n\nThis project is available under the terms of the [MIT License](LICENSE.txt).\nSee the [summary at TLDRLegal](https://tldrlegal.com/license/mit-license).\n","readmeFilename":"README.md"}