{"_id":"in-gfw","_rev":"6-378bd8667e626765f1ebd8417e1cd78e","name":"in-gfw","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"in-gfw","version":"1.0.0","description":"Identify current location is located in mainland China.","main":"lib/index.js","nyc":{"require":["babel-register"],"reporter":["lcov","text-summary"],"cache":true},"babel":{"presets":[["env"]],"plugins":["transform-runtime"]},"scripts":{"report-coverage":"codecov","pretest":"eslint *.js lib test","test":"node . && nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"author":{"name":"gucong3000"},"license":"MIT","bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"homepage":"https://github.com/gucong3000/in-gfw#readme","devDependencies":{"babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","babel-runtime":"^6.26.0","ci-info":"^1.1.3","codecov":"^3.0.0","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.10.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.0.1","mocha":"^5.0.5","mock-fs":"^4.4.2","nyc":"^11.6.0","proxyquire":"^2.0.1","util-promisify":"^2.1.0"},"dependencies":{"glob":"^7.1.2","is-wsl":"^1.1.0","mem":"^3.0.0"},"gitHead":"dc6796f2f9814414a6a955fa1a7734a5c5d29c26","_id":"in-gfw@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"gucong","email":"gucong@gmail.com"},"dist":{"integrity":"sha512-qqxZvHjNUh8gmeolRXXePfh2EGLD1fapbEBGzjzs/HlhZgIINugBpBrxzDqLNOYMitfAnjYIyTPCC53di4c3kQ==","shasum":"23ddaeae700dccb77a1b30606ad92df3d0d5c788","tarball":"https://registry.npmjs.org/in-gfw/-/in-gfw-1.0.0.tgz","fileCount":8,"unpackedSize":12479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwKdquNrv8IX62ulqifNYG1jFzZZnpMChtyd27tKMWswIhAIBemUZ/oNYILgVK/B4cyej6fgH5rYQC8AAuIwWfsm2A"}]},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/in-gfw_1.0.0_1522666318466_0.9122714577798066"},"_hasShrinkwrap":false},"1.1.0":{"name":"in-gfw","version":"1.1.0","description":"Identify current location is located in mainland China.","main":"lib/index.js","nyc":{"require":["babel-register"],"reporter":["lcov","text-summary"],"cache":true},"babel":{"presets":[["env"]],"plugins":["transform-runtime"]},"scripts":{"report-coverage":"codecov","pretest":"eslint *.js lib test","test":"node . && nyc mocha --no-timeouts"},"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"author":{"name":"gucong3000"},"license":"MIT","bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"homepage":"https://github.com/gucong3000/in-gfw#readme","devDependencies":{"babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","babel-runtime":"^6.26.0","ci-info":"^1.1.3","codecov":"^3.0.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.11.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.1.0","mocha":"^5.1.1","mock-fs":"^4.4.2","nyc":"^11.7.1","proxyquire":"^2.0.1","util-promisify":"^2.1.0"},"dependencies":{"glob":"^7.1.2","is-wsl":"^1.1.0","mem":"^3.0.0"},"gitHead":"a0b010c9ef71e32503146f76a42f8f7f8064ffbc","_id":"in-gfw@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"gucong","email":"gucong@gmail.com"},"dist":{"integrity":"sha512-2eJb7b7jU1A1sXWiUuKZRSPnUf89FVxi5JiOWi8iu7Ost7vYtxdyF3JgPYa437F1XMMEYIv7q0TOmyCKwI/0mw==","shasum":"13578c2a7fb862b234d5484c90e4991ff663cee1","tarball":"https://registry.npmjs.org/in-gfw/-/in-gfw-1.1.0.tgz","fileCount":8,"unpackedSize":12439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6SljCRA9TVsSAnZWagAA9RAP/3WNlvamoP9JHdyGOuBk\npEdrQwT9Vqk7QamWw7wvTYz7v6hs5hdCQodLWdebZMJSZcICDt4PamGrkoHi\naGvMALamS0giZyCwnTd6fyYv+GPRdRV/h7V+z2Mzw8OnTxRoK5V5YOcnDiSs\nNNDCL/Smri4Na1lCk9jAk58zPix6RfXVgnZJp5qZnd6LkHwt01jwep6UH0Vz\n2KY8xMCI5AbsrvDrBUwp2PHsHZqFxjtgjAR7LZaWABe/P7DZIvfRMo9PbxO7\nI26SDjLYyqx3oSExENDjp4Xm9bR9inGXqR3Pqdp7ckMEB/9jxK3WvevVUFHx\nM+9g6Mxt9RIGhhUDV3ucgUzYnNa8cpsZq+VWrGXL30J/vHBAW3AWFZmK6RzP\nG/lhjSXHRAGpfnt/EJkLaoDpz7n02IKW4qkqAsFG3YlV9SPY0RqM/n2NkYSn\nIb1cRv+roc+ZYQlb/37xJLzeBhr4KPtNYoGp26yaSfDW9C/Kv1HcwRDgaXf6\nU+hKCd4/yTCcxiC9aqYp8dJfkYgFY7tR07a1YfPCxOysYQyg0lyDOaSNWE8f\n5Hgn7g3DXF+c/CS0RBXuCq3Rb3esfj0Oy4uUMVoMJBkC+PaIV0MzfP5xjbE5\n2O6WFspgBmyLx5Ij/+ug4HZ0OoyNcc7KpI7CGWT9ygKqh5CG8J3v2qiayH7Q\ndxVp\r\n=MtfU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM8Ze/pI/yelWQ7M97sJ79LTevi7ZuS9ghNT3b5p1x3AiEA/opTAkBVPtWJbB092w8QE0uzkEYq91vb5D5Ehc8PWbQ="}]},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/in-gfw_1.1.0_1525229922733_0.9027125525675666"},"_hasShrinkwrap":false},"1.1.1":{"name":"in-gfw","version":"1.1.1","description":"Identify current location is located in mainland China.","main":"lib/index.js","nyc":{"require":["babel-register"],"reporter":["lcov","text-summary"],"cache":true},"babel":{"presets":[["env"]],"plugins":["transform-runtime"]},"scripts":{"report-coverage":"codecov","pretest":"eslint *.js lib test","test":"node . && nyc mocha --no-timeouts"},"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"author":{"name":"gucong3000"},"license":"MIT","bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"homepage":"https://github.com/gucong3000/in-gfw#readme","devDependencies":{"babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.1","babel-register":"^6.26.0","babel-runtime":"^6.26.0","ci-info":"^1.1.3","codecov":"^3.0.1","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.11.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.7.0","eslint-plugin-standard":"^3.1.0","mocha":"^5.1.1","mock-fs":"^4.5.0","nyc":"^11.7.1","proxyquire":"^2.0.1","util-promisify":"^2.1.0"},"dependencies":{"glob":"^7.1.2","is-wsl":"^1.1.0","mem":"^3.0.0"},"gitHead":"eda74a402c1c14f4b96460b59abd93ed52ea7f14","_id":"in-gfw@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"gucong","email":"gucong@gmail.com"},"dist":{"integrity":"sha512-8zBEVFbxf1RLXZI5N6yk+80orOUmbf2KHoC7+n+tFQ/pYmUS6yYNr+zLVqzxmoqk96+FWz+ze3bPS20EZ3X98w==","shasum":"48c87587655bd55b04aed9e47e7fbf49529ec8c4","tarball":"https://registry.npmjs.org/in-gfw/-/in-gfw-1.1.1.tgz","fileCount":8,"unpackedSize":12487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8RsWCRA9TVsSAnZWagAAf/gP/jBv+X0Q6mMDhtlBFwPR\nIn0mk3sSqIAKvhM8dKdiXLMverv/B988IC+h4eQFcoiK02W9qmTHSe5+plmy\nrdo4X1vFs8e8G2mxOE9xYTL4orsWe0rgLpsxTYmtgYolM3Jf98qw/HiyMGOl\ne2g6Rh4XDIa4qyyK90xoW9iW6xXiuW/dTHYtScWB5w/C9v6y2XAZi1CLskVb\njf9C63zw9Bv41tLL5cIqUOmBgPRUq/goUzLrKAiG8i584dY0F2MoKBoImKE4\nbzEzCnoCdh2EpYBpuqhnPFbA0oxRAqzymH9NDLAY7H9Nf7RNlyhWvwofFuRc\no+TJxtS++9v+NB83L7oRHiA/z7iUvJbbuAGlZnUdXjWFA3lUZ/yn3BBQ8e9j\nh6d9Gezn0fadN/2gYcKSm86rPhAQapCSOTjGQDCFHg55m7AuvI2JXolsqU39\nUbnAd0qyMRN8+GuEJBl20tidydLUlcZ+7beCTPckPc517cJ750vaEJZmiaEh\nF4/18Xgy00Eho7qA+68VaipXbqArAFh+dKRzNO+lzUI2Tb4f8t7PhC0GApnD\nh58bk1pMRo32yQnXiOOBolzATWYD3RvC4Kz1HuNOMwzx80p6EUd0rgRf8eYA\nREEDTiiwRqcPfn3ZR/c8vE/DYxVM6pV5I1bM0pcJKHzzOSpK1OFKE4DpBFIE\nZ67R\r\n=zshM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ1f8HrvfRhL4nmqZa1WbRLGMIRO6y4f71q9ZsXfXi7QIhAICHYOgsY/fuF5WiNQEvqoUyGYOc5pKp2tCtYnIHkwJb"}]},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/in-gfw_1.1.1_1525750548437_0.8358863120339017"},"_hasShrinkwrap":false},"1.1.2":{"name":"in-gfw","version":"1.1.2","description":"Identify current location is located in mainland China.","main":"lib/index.js","nyc":{"require":["babel-register"],"reporter":["lcov","text-summary"],"cache":true},"babel":{"presets":[["env"]],"plugins":["transform-runtime"]},"scripts":{"report-coverage":"codecov","pretest":"eslint *.js lib test","test":"node . && nyc mocha --no-timeouts"},"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"author":{"name":"gucong3000"},"license":"MIT","bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"homepage":"https://github.com/gucong3000/in-gfw#readme","devDependencies":{"babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","babel-register":"^6.26.0","babel-runtime":"^6.26.0","ci-info":"^1.1.3","codecov":"^3.0.2","eslint":"^4.19.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.12.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-standard":"^3.1.0","mocha":"^5.2.0","mock-fs":"^4.5.0","nyc":"^12.0.2","proxyquire":"^2.0.1","util-promisify":"^2.1.0"},"dependencies":{"glob":"^7.1.2","is-wsl":"^1.1.0","mem":"^3.0.0"},"gitHead":"8e96731cdae3a6eba9a333c886ca1d5689fbdddf","_id":"in-gfw@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"gucong","email":"gucong@gmail.com"},"dist":{"integrity":"sha512-zq85VCPFo2rAmRPxsp3Z6GXh7p23Cg/yLwXOqtKROnBqHK6nLQxPg5sHmELPRMl3yu+o4lKU6Fm8AjxSdsjl/A==","shasum":"02f80ff28b611ae6c30dc1d1f47a5b579c7d09fb","tarball":"https://registry.npmjs.org/in-gfw/-/in-gfw-1.1.2.tgz","fileCount":8,"unpackedSize":13170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGL7dCRA9TVsSAnZWagAAAbgP/3yUP11RMpbQ/tY23My0\naBVWWb2AlWTyWq5nN3j28si0cc9Bl0Cs3ZPagtDZyf4Oj5m0lTACEFoHBoKW\nR8kj7SaF5yBXuucqQ5+7PKt3rwZcmwaKVYckiOzc4vznvOGtpk3Ghh2R2WqZ\nNiqxtPN4EakuPPz5YdC+GG1LW6atJ6YSFRH3Y1RSbX4eVTyb3OnOjTlnNuHC\n+FZq1kLpTnhIPOCo7oE21Ey7Dbyv2npfGEepul7V8+bdpKvCa+NxlfFaQXdR\nzlQGxzsMETiN11qD7Crln1hSCEZj9UmsuELhxjBoJWLb1w6x/UwCCR+uxoXh\nBah3jQueaTm7csJh/f93v4poS2CJX1w+XvUb2IhDQT+0hXZaM6gLC84aT0a9\nK3RVPe5U2+7HtN7bdglEm/h6M7UPZPTJ8hSOv0Zlj4odxENG2Kp7yelEcGXF\n3lbU91FN/J7nEw6q2MHMUFaW2sndiyOdq3NbIRlKj39W0k05Ei4RAcHgzi36\nEF3Yde9vPHslgd+PK9RuqPZWPZq4IPAFKJHhxxRcRjhocHs1S2LGMjOoOVlw\nu2Pnl3TKABcD8F27ZWuCqAt3NT7BZ5nDX1IaeD7p1zflJ8PLv1MPqhnuSeUh\n75X7weX/JtB9i69fk2xkH9AQ3xCd0p7ok/4O7x279u71mKUtMVQktKsajtKh\nDud1\r\n=Q+6X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRTha5e2VYir7XYpQ1GxSJ+epk6HMBFAPB8rg3MT320AIgbIBLRz2pd9HKeg3wg+6mbNYmA3CbUoLDOnOdGs3/W/k="}]},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/in-gfw_1.1.2_1528348380422_0.26875253866438764"},"_hasShrinkwrap":false},"1.2.0":{"name":"in-gfw","version":"1.2.0","description":"Identify current location is located in mainland China.","main":"lib/index.js","nyc":{"require":["@babel/register"],"reporter":["lcov","text-summary"],"cache":true},"babel":{"presets":[["@babel/env"]],"plugins":["@babel/transform-runtime"]},"scripts":{"report-coverage":"codecov","pretest":"eslint lib test","test":"node . && nyc mocha --no-timeouts"},"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"author":{"name":"gucong3000"},"license":"MIT","bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"homepage":"https://github.com/gucong3000/in-gfw#readme","devDependencies":{"@babel/core":"^7.0.0-beta.51","@babel/plugin-transform-runtime":"^7.0.0-beta.51","@babel/preset-env":"^7.0.0-beta.51","@babel/register":"^7.0.0-beta.51","@babel/runtime":"^7.0.0-beta.51","ci-info":"^1.1.3","codecov":"^3.0.2","eslint":"^5.0.1","eslint-config-standard":"^11.0.0","eslint-plugin-import":"^2.13.0","eslint-plugin-node":"^6.0.1","eslint-plugin-promise":"^3.8.0","eslint-plugin-standard":"^3.1.0","mocha":"^5.2.0","mock-fs":"^4.5.0","nyc":"^12.0.2","proxyquire":"^2.0.1","util-promisify":"^2.1.0"},"dependencies":{"glob":"^7.1.2","is-wsl":"^1.1.0","mem":"^3.0.1"},"gitHead":"0dd423f76a2ca4089661152c22d17ab78fb0d73b","_id":"in-gfw@1.2.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.3","_npmUser":{"name":"gucong","email":"gucong@gmail.com"},"dist":{"integrity":"sha512-LgSoQXzuSS/x/nh0eIggq7PsI7gs/sQdXNEolRmHaFUj6YMFmPO1kxQ7XpcT3nPpC3DMwYiJmgnluqJmFXYiMg==","shasum":"95b419a89cb0319db412fae353883c3b9ac177d7","tarball":"https://registry.npmjs.org/in-gfw/-/in-gfw-1.2.0.tgz","fileCount":8,"unpackedSize":15073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPHHlCRA9TVsSAnZWagAASRkP/0Kozw5CLyyGWqjPSoH2\nnFMky3RSh9DDUSLLgwMzeoGGcbZ5QWi0MV1d5ZO2z95zuZ34+Ua2U5pW0+LM\nYo5vqgLyAhFQaCsGYfXquUe2ripzkkF7z7NQ63ntoPfaHKLbCRj92gL+vwan\nQjy5tnz9LrGevhsvNjh5SflqSpdp6Hpekfn4iGnWz4w3j1cDiKS84zBqnKdz\nEzhmgbPVEmtlCyc4rWPPZdx9JDnWuEkgeAFlkPdsM7Dxw46mVOOoI9jEfNSR\nlNgRGMvKRuikCon9Q8jcp19qy2RQFzLg/CduO5SO2TBbnYD4THHjIxvQirxU\nX5pEdjYXCQItOziNAp/mtT9aB8qh0iThTrgNr+8VGr69xtCPalo+nyXpcRun\n1Xdj3vWCpCbcTdzizUgmk99fFJfvGUKfKDP3UqrsOdZqmCi2xS7j3OMs+P57\nJAHA0ODmfOgoCxSEYS8ZfOVoz2Q9SvXnxeDZWvcLLzmagAw+QKLwHvZMDGXp\n+wDvj9Kd8/Qe+BJZQgcIhn0wYzKxGumA7QztyFEd9PceW+vwXRnKj9fXJ1gW\ntJdReVXzkf66oka1SrJQpb+GK2ywDeyNQSzUzPitVUP87QveLycpmW4okYFF\nD4Fghp7YcefeFP6kqIpsc4nYG8ODq7SE/CX+QDfBHAZYQZF13rNmfGXdKBQk\n2BU7\r\n=5Nzc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrh2Se8KA7G9As81ry5WqOP24Hq1c9SDlL5bAb5wKZcAIge2NWmz7txq2JZ57cXpY2Klf54OeG52aYb6mcPOD/H74="}]},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/in-gfw_1.2.0_1530687973440_0.15247773583581115"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-02T10:51:58.465Z","1.0.0":"2018-04-02T10:51:58.512Z","modified":"2022-05-05T20:56:14.315Z","1.1.0":"2018-05-02T02:58:42.801Z","1.1.1":"2018-05-08T03:35:48.588Z","1.1.2":"2018-06-07T05:13:00.492Z","1.2.0":"2018-07-04T07:06:13.501Z"},"maintainers":[{"name":"gucong","email":"gucong@gmail.com"}],"description":"Identify current location is located in mainland China.","homepage":"https://github.com/gucong3000/in-gfw#readme","keywords":["OS","system","location","geo","PRC","mainland","China","gfw","Great","Firewall"],"repository":{"type":"git","url":"git+https://github.com/gucong3000/in-gfw.git"},"author":{"name":"gucong3000"},"bugs":{"url":"https://github.com/gucong3000/in-gfw/issues"},"license":"MIT","readme":"in-gfw\r\n=====\r\n[![NPM version](https://img.shields.io/npm/v/in-gfw.svg?style=flat-square)](https://www.npmjs.com/package/in-gfw)\r\n[![Travis](https://img.shields.io/travis/gucong3000/in-gfw.svg?&label=Linux)](https://travis-ci.org/gucong3000/in-gfw)\r\n[![AppVeyor](https://img.shields.io/appveyor/ci/gucong3000/in-gfw.svg?&label=Windows)](https://ci.appveyor.com/project/gucong3000/in-gfw)\r\n[![Codecov](https://img.shields.io/codecov/c/github/gucong3000/in-gfw.svg)](https://codecov.io/gh/gucong3000/in-gfw)\r\n[![David](https://img.shields.io/david/gucong3000/in-gfw.svg)](https://david-dm.org/gucong3000/in-gfw)\r\n\r\nIdentify if current location is located in mainland China.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install in-gfw\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nconst inGFW = require(\"in-gfw\");\r\ninGFW().then(console.log);\t// `true` for located in mainland China\r\ninGFW.os().then(console.log);\t// `true` for system located in mainland China\r\ninGFW.net().then(console.log);\t// `true` for network located in mainland China\r\n```\r\n\r\n## API\r\n\r\n```js\r\ninGFW(blockedHost, cnHost);\r\ninGFW.sync(blockedHost, cnHost);\t// Synchronous version of `inGFW()`\r\n```\r\nGet result by `inGFW.os()` and fallback to `inGFW.net()`\r\n\r\n```js\r\ninGFW.os();\r\ninGFW.osSync();\t// Synchronous version of `inGFW.os()`\r\n```\r\n\r\n- Windows: Check if current location settings is `PRC`.\r\n  > Control Panel: Regional and language -> Location\r\n- POSIX systems: Check if [timezone](https://en.wikibooks.org/wiki/Puredyne/Date_and_Timezone) is set to `Beijing`, `Chongqing`, `Shanghai`, `Urumqi` or `PRC`.\r\n\r\n```js\r\ninGFW.net(blockedHost, cnHost);\r\ninGFW.netSync(blockedHost, cnHost);\t// Synchronous version of `inGFW.net()`\r\n```\r\nBased on the speed of network access to identify if current location is located in mainland China.\r\n\r\n- `blockedHost`\r\n\r\n  Type: `string|URL`\r\n\r\n  Default: `\"www.npmjs.com\"`\r\n\r\n  host for speed test that blocked by GFW\r\n\r\n- `cnHost`\r\n\r\n  Type: `string|URL`\r\n\r\n  Default: `\"npm.taobao.org\"`\r\n\r\n  host for speed test that mirrored in mainland China.\r\n","readmeFilename":"README.md"}