{"_id":"g-status","_rev":"79818","name":"g-status","description":"Get the change between index (or staging-area) and working directory of a `git` repository","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"time":{"modified":"2024-06-10T12:25:07.000Z","created":"2018-01-21T23:23:24.775Z","2.0.2":"2018-01-26T09:14:55.695Z","2.0.1":"2018-01-26T08:39:44.634Z","2.0.0":"2018-01-26T00:56:44.865Z","1.1.2":"2018-01-24T00:12:04.641Z","1.1.1":"2018-01-23T20:16:46.240Z","1.1.0":"2018-01-23T11:47:24.287Z","1.0.1":"2018-01-22T16:18:40.560Z","1.0.0":"2018-01-21T23:23:24.775Z"},"users":{},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"versions":{"2.0.2":{"name":"g-status","version":"2.0.2","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"],"rules":{"camelcase":0}},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"fc974d7ff1a73d218e5a3a7e864c12bf6ecdbd3e","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-kQoE9qH+T1AHKgSSD0Hkv98bobE90ILQcXAF4wvGgsr7uFqNvwmh8j+Lq3l0RVt3E3HjSbv2B9biEGcEtpHLCA==","shasum":"270fd32119e8fc9496f066fe5fe88e0a6bc78b97","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8ZbxcobQG6VyzAf7yXCaPDGtk/feZjFUAIY0x/eY0YAiEArJxZij1tIimI8PZfAxO3l4kUXckl6tPySeL3TlAWdNA="}],"size":3042,"noattachment":false,"key":"/g-status/-/g-status-2.0.2.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-2.0.2.tgz_1516958095616_0.1189501394983381"},"directories":{},"publish_time":1516958095695,"_cnpm_publish_time":1516958095695},"2.0.1":{"name":"g-status","version":"2.0.1","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"],"rules":{"camelcase":0}},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"c7c681224e0ed998be25d93176f0087484c52be0","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-uEkfz94C41adUoHcnUs7Gc0wpqHZ7I+zvxz2iamGejyRetkASfIYSHWkW13KObOGwE8oFYbdPPOG4HBNKf5IiQ==","shasum":"7663c146eae992986eb64c17bae432fec6b98b96","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD91tIEkdPlqkkb0sXjtd97oRwFhY34ZvByWdKAQtBMZQIhANedxe6BeDmhaM/WGQn5d5gZoWARvSj2SAMbvulzvcHO"}],"size":3039,"noattachment":false,"key":"/g-status/-/g-status-2.0.1.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-2.0.1.tgz_1516955984522_0.580497930990532"},"directories":{},"publish_time":1516955984634,"_cnpm_publish_time":1516955984634},"2.0.0":{"name":"g-status","version":"2.0.0","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"],"rules":{"camelcase":0}},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"9c39f935880387a11e2703a8b7606c965bf5913d","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-ZFc50ZDlzYpsEUIfr3kcyTFaE/l0zNrMXpWgxK0IxI7gu+a08hJ8yeKhFXknPjwYVd1NDJqUesfmcQOKTG/kLA==","shasum":"8d0eb39c950efe4fe826a14e25db8578d3d03260","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWhK/IOIdYDPJGvShm9GY8Y7GKS3kcxjSNOibhtXui3AiEApVUay4HaOyf02yw6eltBhkf4jPoLWoDjnKlk4b6bUts="}],"size":3148,"noattachment":false,"key":"/g-status/-/g-status-2.0.0.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-2.0.0.tgz_1516928204806_0.5640597939491272"},"directories":{},"publish_time":1516928204865,"_cnpm_publish_time":1516928204865},"1.1.2":{"name":"g-status","version":"1.1.2","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","merge-options":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"],"rules":{"camelcase":0}},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"986bce60a5bf042d0dbf45faa06dcd3f8899ccef","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-q5NFCYJ6Dge9sRaqDS02bt8qvI3kGBVMGrv02gDeMurw4yJGMD+qSaqZ19BX0YcZNfysiiR/XtJtpUsZRBn3qA==","shasum":"f164a6959c9ea4da3e04516e3c87e78f56e70b5d","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAiyBgTwcoDrPwpsSFVVmhOaXF67y3kh0Yly9d1ZZXeIAiAzlzo/Gsua8EwcY6qz15lsZaheSTluTtIiu8m2ryWkEw=="}],"size":3170,"noattachment":false,"key":"/g-status/-/g-status-1.1.2.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-1.1.2.tgz_1516752724578_0.607030269689858"},"directories":{},"publish_time":1516752724641,"_cnpm_publish_time":1516752724641},"1.1.1":{"name":"g-status","version":"1.1.1","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","merge-options":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"],"rules":{"camelcase":0}},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"2719cf0ed6b3f2f6cb42fd6814ef58658a1579e9","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-D9Mn06KpiBp1seBcPBdcbYpVMaqgpF+3WiL2rjRJ0+M+/cQq/DlTjpl5Ux3gBahnb3H2FEw563BpL7xDOidV7w==","shasum":"8bed75b22cf7efb18b69de455f1e026faffaf5ea","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDEs6jUNDvDjBRAHvwdOgK8ggAhxDtvq+OANLoj0czgAIgKLO0XV9GicFWYgspDEnnrUEoG4uD9/5CFcPVdeSfAi8="}],"size":3133,"noattachment":false,"key":"/g-status/-/g-status-1.1.1.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-1.1.1.tgz_1516738606183_0.4738660608418286"},"directories":{},"publish_time":1516738606240,"_cnpm_publish_time":1516738606240},"1.1.0":{"name":"g-status","version":"1.1.0","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js","filterer.js"],"dependencies":{"arrify":"^1.0.1","lodash.isequal":"^4.5.0","matcher":"^1.0.0","merge-options":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","execa":"^0.9.0","fixturez":"^1.1.0","fs-extra":"^5.0.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","testPathIgnorePatterns":["<rootDir>/__tests__/__fixtures__/"],"transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"]},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"7e30850eec50a2ecbc86b24c83c32b05dc651a3d","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-cVwE/6B8uofUtW3IgHFbs5N6zln15Tbmy73hGMajkATZL/44jw5bh1fN0zQQLbm4szI5qd7uMYyxMZMmgFsujw==","shasum":"f6035d450c29a8e00b9170a120a5ffc8dcf806e6","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBBS5OKWsTkWfN4+ZryxbJ9m/xvWyRS1tYi9zlaipFWwIhALx8NpcECEApKvvqXtbFng7Q+6ePjf4AzULYqldpO54w"}],"size":3359,"noattachment":false,"key":"/g-status/-/g-status-1.1.0.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-1.1.0.tgz_1516708044089_0.27476640651002526"},"directories":{},"publish_time":1516708044287,"_cnpm_publish_time":1516708044287},"1.0.1":{"name":"g-status","version":"1.0.1","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","merge-options":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","execa":"^0.9.0","fixturez":"^1.1.0","fs-extra":"^5.0.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"]},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"2e70681d7735fe8da50bbad8ac5ca35cd742c3ba","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-VqY6AGaRO75WoVM5x01nJMWI+4I5Dc1lgxW5juSbg/+kM2ix2faj02OYX33r3NShhQKozeCOCOdGPRuTFCqsxQ==","shasum":"48c73b7984d62270ca1559af65c7ac5ba6a7bbd3","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeLRM80TQoQl20fhXWX3fB0OPuD0bTPd/SVyWlK/sXpAiEAzHWEq/rj8e/f6c17kzH5y4wLcMF68s9ZPBQilVPeVOI="}],"size":3164,"noattachment":false,"key":"/g-status/-/g-status-1.0.1.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-1.0.1.tgz_1516637920477_0.9314896075520664"},"directories":{},"publish_time":1516637920560,"_cnpm_publish_time":1516637920560},"1.0.0":{"name":"g-status","version":"1.0.0","description":"Get the change between index (or staging-area) and working directory of a `git` repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/luftywiranda13/g-status.git"},"author":{"name":"Lufty Wiranda","email":"lufty.wiranda@gmail.com","url":"https://www.luftywiranda.com"},"engines":{"node":">=6"},"scripts":{"precommit":"remove-lockfiles && xo --fix && lint-staged","test:watch":"jest --watch","test":"xo && jest --coverage"},"files":["index.js"],"dependencies":{"arrify":"^1.0.1","matcher":"^1.0.0","merge-options":"^1.0.0","simple-git":"^1.85.0"},"devDependencies":{"async-to-gen":"^1.3.3","eslint-config-prettier":"^2.9.0","execa":"^0.9.0","fixturez":"^1.1.0","fs-extra":"^5.0.0","husky":"^0.14.3","jest":"^22.0.4","lint-staged":"^6.0.0","prettier":"^1.9.2","remove-lockfiles":"^2.0.4","xo":"^0.18.2"},"jest":{"testEnvironment":"node","transform":{"^.+\\.js$":"async-to-gen"}},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"prettier":{"singleQuote":true,"trailingComma":"es5"},"xo":{"extends":"prettier","envs":["jest"]},"keywords":["git-status","git","index-area","staged","staging-area","staging","status","work-tree","working-directory","worktree"],"gitHead":"70690f329b0535f47beacfc1669563d10bdb228e","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"homepage":"https://github.com/luftywiranda13/g-status#readme","_id":"g-status@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"},"dist":{"integrity":"sha512-sVTsRMEO9otiEJysX5JMqconFbk91kJhEfDj+LAZMOaU2pFVtU+uZozDN0Rq1wYCZalUPCepVU7wtJGtfmkyZQ==","shasum":"b86f79b08538641d8829f92011b96e5518bf689f","tarball":"http://registry-npm.ywwl.com/g-status/download/g-status-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5r2dwB/Sy5Li6syqxx9Xg6wej2CGMJSwA5TXPqIYPAgIgMY6xJSqY3pVJT6+maB4s32DkRCmDX+KhYNZf2wjQanI="}],"size":3098,"noattachment":false,"key":"/g-status/-/g-status-1.0.0.tgz"},"maintainers":[{"name":"luftywiranda13","email":"lufty.wiranda@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/g-status-1.0.0.tgz_1516577004708_0.022013216046616435"},"directories":{},"publish_time":1516577004775,"_cnpm_publish_time":1516577004775}},"readme":"# g-status\n\n> Get the change between index (or staging-area) and working directory of a `git` repository\n\n[![Package Version](https://img.shields.io/npm/v/g-status.svg?style=flat-square)](https://www.npmjs.com/package/g-status)\n[![Downloads Status](https://img.shields.io/npm/dm/g-status.svg?style=flat-square)](https://npm-stat.com/charts.html?package=g-status&from=2016-04-01)\n[![Build Status: Linux](https://img.shields.io/travis/luftywiranda13/g-status/master.svg?style=flat-square)](https://travis-ci.org/luftywiranda13/g-status)\n[![Coverage Status](https://img.shields.io/codecov/c/github/luftywiranda13/g-status/master.svg?style=flat-square)](https://codecov.io/gh/luftywiranda13/g-status)\n\nThink of `git status` or `git status --porcelain`, but returns a _ready-to-consume_ result.\n\n## Why\n\n* Maintained\n* Accepts simple [wildcard matching](https://github.com/sindresorhus/matcher) patterns\n* Promise API\n* Ability to get specific results based on status codes\n* Knows which files are partially/fully-staged\n\n## Installation\n\n```sh\nnpm install g-status\n```\n\n## Usage\n\n```sh\n$ git status --porcelain\n\nA  .travis.yml  # fully-staged\nMM index.js     # partially-staged\n M readme.md    # unstaged\n```\n\n```js\nconst gStatus = require('g-status');\n\ngStatus().then(res => {\n  console.log(res);\n  /*\n    [\n      { path: '.travis.yml', index: 'A', workingTree: ' ' },\n      { path: 'index.js', index: 'M', workingTree: 'M' },\n      { path: 'readme.md', index: ' ', workingTree: 'M' }\n    ]\n  */\n});\n\ngStatus({ path: ['!*.js', '!*.md'] }).then(res => {\n  console.log(res);\n  //=> [{ path: '.travis.yml', index: 'A', workingTree: ' ' }]\n});\n\n// Files marked as `Modified` or `Added` in the staging area,\ngStatus({ index: 'MA' }).then(res => {\n  console.log(res);\n  /*\n    [\n      { path: '.travis.yml', index: 'A', workingTree: ' ' },\n      { path: 'index.js', index: 'M', workingTree: 'M' },\n    ]\n  */\n});\n\n// Files that arenʼt changed in the working tree\ngStatus({ workingTree: ' ' }).then(res => {\n  console.log(res);\n  //=> [{ path: '.travis.yml', index: 'A', workingTree: ' ' }]\n});\n\n// Files that are marked as `Modified` both in staging area and working tree\ngStatus({ index: 'M', workingTree: 'M' }).then(res => {\n  console.log(res);\n  //=> [{ path: 'index.js', index: 'M', workingTree: 'M' }]\n});\n```\n\nSee the [tests](https://github.com/luftywiranda13/g-status/blob/master/test.js) for more usage examples and expected matches.\n\n## API\n\n### gStatus([options])\n\nReturns `Promise<{ path: string, index: string, workingTree: string }[]>`.\n\n#### options\n\nType: `Object`\n\n##### cwd\n\nType: `string`<br />\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n##### path\n\nType: `string` | `string[]`<br />\nDefault: `*`\n\nUse `*` to match zero or more characters. A pattern starting with `!` will be negated.\n\n##### index\n\nType: `string`<br />\nDefault: `*`\n\nString of `git` status codes of the index/staging-area, See [Short Format](https://git-scm.com/docs/git-status#_short_format).<br />\nOne difference is that `*` will match all value here.\n\n##### workingTree\n\nType: `string`<br />\nDefault: `*`\n\nString of `git` status codes of the working tree, See [Short Format](https://git-scm.com/docs/git-status#_short_format).<br />\nOne difference is that `*` will match all value here.\n\n## Related\n\n* [simple-git](https://github.com/steveukx/git-js) – Simple git interface for Node.js\n* [staged-git-files](https://github.com/mcwhittemore/staged-git-files) – Abandoned, the latest commit was 3 years ago\n\n## License\n\nMIT &copy; [Lufty Wiranda](https://www.luftywiranda.com)\n","_attachments":{},"homepage":"https://github.com/luftywiranda13/g-status#readme","bugs":{"url":"https://github.com/luftywiranda13/g-status/issues"},"license":"MIT"}