{"_id":"@ameol/chii","_rev":"1-c579d8a7dbf2733074d23c550df584e7","name":"@ameol/chii","dist-tags":{"latest":"0.6.7"},"versions":{"0.6.7":{"name":"@ameol/chii","version":"0.6.7","description":"Chrome devtools framework","main":"./server/index.js","bin":{"chii":"./bin/chii.js"},"scripts":{"ci":"npm run lint && npm run build","format":"npm run format:front_end && npm run format:target && npm run format:server && prettier *.{js,json} scripts/*.js bin/*.js tests/*.{html,json,js,css} --write","format:front_end":"prettier front_end/**/*.{html,js,json} --write","format:target":"prettier target/**/*.ts --write","format:server":"prettier server/**/*.js --write","build":"gulp clean && npm run build:target && npm run build:front_end","build:target":"webpack --mode=production","build:front_end":"node scripts/build_front_end && gulp uglify","dev:target":"webpack --mode=development -w","dev:front_end":"node scripts/build_front_end","lint":"npm run lint:server && npm run lint:target","lint:server":"eslint server/**/*.js","lint:target":"tslint target/**/*.ts"},"repository":{"type":"git","url":"git+https://github.com/liriliri/chi.git"},"keywords":["devtools"],"author":{"name":"redhoodsu"},"license":"MIT","bugs":{"url":"https://github.com/liriliri/chi/issues"},"homepage":"https://github.com/liriliri/chi#readme","devDependencies":{"babel-eslint":"^10.1.0","chobitsu":"^0.2.1","eslint":"^6.8.0","gulp":"^4.0.2","gulp-clean":"^0.4.0","gulp-uglify-es":"^2.0.0","ncp":"^2.0.0","prettier":"^2.0.4","terser":"^4.6.13","ts-loader":"^7.0.1","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.1","webpack-cli":"^3.3.11"},"dependencies":{"commander":"^5.0.0","handlebars":"^4.7.6","koa":"^2.11.0","koa-compress":"^4.0.1","koa-router":"^8.0.8","koa-send":"^5.0.0","licia":"^1.22.0","ws":"^7.2.3"},"gitHead":"6c0dcb2f61eabf51580a5e102f769208e7aed384","_id":"@ameol/chii@0.6.7","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"ameol","email":"ameool@163.com"},"dist":{"integrity":"sha512-AjHqeQT3xQyncFPgfRRaXEPPpcHa5Mi3YPljakiq2cci11xwhZgFn15zmaF6yJZQSphU9cJ0tlZbOvvdVyf4tw==","shasum":"bf9f3b3d47ecef8e0334a7c6d7c6be59deebe5d6","tarball":"https://registry.npmjs.org/@ameol/chii/-/chii-0.6.7.tgz","fileCount":1114,"unpackedSize":5656955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4uylCRA9TVsSAnZWagAADMMP/0Lz7C/evdSRradLRaQ/\nTLnIxh7cat6FIKszCthUkCUHG7Qo+8PqVvSA2s6ugTOJaOqMa7l/tiIkMs7+\nbJ/iaHRLcj1GFXaPHJgg8gG/TGx8/jk9xjjoZhry6Ubz1uTdfF1QwHcphXEK\nYDMgiQkwGKCYY5YJr1rER3YoWSC13X2Dre2dtXRG+Kt1MVNPBnq+CRMYFruG\nDQhNri6ytWmn3TKSZNLh5Iub+y94SM43GeY8qWj/qioPUW2qbHh3UQMGVtWM\nxbLlw04h8Vd2Tr4MHSsy23r0x+dbGMiWBd1WU/YIY5wTdSQfHbdcPVswT7qk\ny6N60K/ZnSZn3rApCZQ6rS9Blx9immfZkmWsa53os46VJuYrx42z2yWk24xp\nfwQ2zh0tbYqd67bQ+ubai2RRPJINHxQzZ4HvRpS4b3HO8hmSx/bxRpl9Q0ad\nnclfKG1p53TRGDHrv5G3XRXgXfH2PksgLetQtqvBTi/qHFo7hLimj8mCaEO7\nhO6Yr23OKIf7Ea6L9yDA/nx21s/xHhHVSaUWk2fr89AmWFjmC4OxTgbnqj8u\nd1SwNgJh7Rez8oRHY5CJYRWbzafGXNRZ/wj8g0KjWECRDW3xYnQaRQt8xxVh\nSXGwAInZ/FKzH7deZXkrxPeSRCJYIiXmkQ1CF14Vl7tn0IK9L0n7kzEM7fuO\n8UtI\r\n=A/6q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzFblrwBPgfTzQ4EzZqQwE3/ztRF20pJAqfS44wzqZDQIhALUMEzuHhlSpulDTywJUwlk7+OdHGp6OBpfwo01YxmQa"}]},"directories":{},"maintainers":[{"name":"ameol","email":"ameool@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chii_0.6.7_1608707237318_0.12027270660288014"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-23T07:07:17.271Z","0.6.7":"2020-12-23T07:07:17.591Z","modified":"2022-04-04T13:48:05.835Z"},"maintainers":[{"name":"ameol","email":"ameool@163.com"}],"description":"Chrome devtools framework","homepage":"https://github.com/liriliri/chi#readme","keywords":["devtools"],"repository":{"type":"git","url":"git+https://github.com/liriliri/chi.git"},"author":{"name":"redhoodsu"},"bugs":{"url":"https://github.com/liriliri/chi/issues"},"license":"MIT","readme":"[中文](docs/README_CN.md)\n\n# Chii\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![License][license-image]][npm-url]\n\n[npm-image]: https://img.shields.io/npm/v/chii?style=flat-square \n[npm-url]: https://npmjs.org/package/chii\n[travis-image]: https://img.shields.io/travis/liriliri/chii?style=flat-square\n[travis-url]: https://travis-ci.org/liriliri/chii\n[license-image]: https://img.shields.io/npm/l/chii?style=flat-square\n\nRemote debugging tool like [weinre](https://people.apache.org/~pmuellr/weinre/docs/latest/Home.html), replacing web inspector with the latest [chrome devtools frontend](https://github.com/ChromeDevTools/devtools-frontend).\n\n![Chii](./docs/screenshot.jpg)\n\n## Demo\n\n![Demo](./docs/qrcode.png)\n\nBrowse it on your phone: [https://chii.liriliri.io/tests/demo.html](https://chii.liriliri.io/tests/demo.html)\n\nOpen [https://chii.liriliri.io/](https://chii.liriliri.io/) and click inspect to start debugging the demo page.\n\nIn order to try it for different sites, execute the script below on browser address bar.\n\n```javascript\njavascript:(function () { var script = document.createElement('script'); script.src=\"//chii.liriliri.io/target.js\"; document.body.appendChild(script); })();\n```\n\n## Install\n\nYou can get it on npm.\n\n```bash\nnpm install chii -g\n```\n\n## Usage\n\nStart the server with the following command.\n\n```bash\nchii start -p 8080\n```\n\nUse this script to inject the target code into your webpage.\n\n```html\n<script src=\"//host-machine-ip:8080/target.js\"></script>\n```\n\nThen browse to localhost:8080 to start debugging your page.\n\n## Related Projects\n\n* [whistle.chii](https://github.com/liriliri/whistle.chii): Whistle Chii plugin.\n* [chobitsu](https://github.com/liriliri/chobitsu): Chrome devtools protocol JavaScript implementation.","readmeFilename":"README.md"}