{"_id":"docsify-edit-on-github","_rev":"6-2646c3abd9f9ee3a3b4fd3a960cec0ce","name":"docsify-edit-on-github","description":"edit on github plugin for docsify","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"docsify-edit-on-github","version":"1.0.0","description":"edit on github plugin for docsify","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/njleonzhang/docsify-edit-on-github.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/njleonzhang/docsify-edit-on-github/issues"},"homepage":"https://github.com/njleonzhang/docsify-edit-on-github#readme","gitHead":"711765508739298788446a3f4ad60ff882dfb771","_id":"docsify-edit-on-github@1.0.0","_shasum":"89428cf0b0959f397e9cf22808178b21c587279f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"njleonzhang","email":"scream3616@sina.com"},"dist":{"shasum":"89428cf0b0959f397e9cf22808178b21c587279f","tarball":"https://registry.npmjs.org/docsify-edit-on-github/-/docsify-edit-on-github-1.0.0.tgz","integrity":"sha512-WUd7wweTl5JswBlBSqm8RpLbu+MfYndEJDGRk+h0pPjbgFtymUubN/LSnwZ1Ey5le1kkEye5T/yAQBQOxK+N9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmcQD0Pes6SamoPXsWS65QFWYHZKHSKm0YMn5/cAKs7AIgcSt2YEoYp440yNJsjX1F9bfiCvR94j6nIdKA1+Ckv3g="}]},"maintainers":[{"name":"njleonzhang","email":"scream3616@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-edit-on-github-1.0.0.tgz_1504165694972_0.18582037882879376"},"directories":{}},"1.0.1":{"name":"docsify-edit-on-github","version":"1.0.1","description":"edit on github plugin for docsify","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/njleonzhang/docsify-edit-on-github.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/njleonzhang/docsify-edit-on-github/issues"},"homepage":"https://github.com/njleonzhang/docsify-edit-on-github#readme","gitHead":"c95292720cbb4ccdf49263c9b4772cd6fc012bf4","_id":"docsify-edit-on-github@1.0.1","_shasum":"0f0f93df0745715f7ff178345ef6eaf5e7f397a1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"njleonzhang","email":"scream3616@sina.com"},"dist":{"shasum":"0f0f93df0745715f7ff178345ef6eaf5e7f397a1","tarball":"https://registry.npmjs.org/docsify-edit-on-github/-/docsify-edit-on-github-1.0.1.tgz","integrity":"sha512-S4zQr9eYh43mv9fKtjO1hNStv8udANqrQv2T7nUML/EkzsvTMIDp1sNoz3b9Gx99BJnJPQaeOUlU4Q7FG1LR8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhSqkYVX9lJiuP+lJLUy2mn7HjAxR4v+yZBHsLMR6iowIgcSOJqfslqNx48poPmvbMo2ySM5XulCcWcOmT/ifmDuM="}]},"maintainers":[{"name":"njleonzhang","email":"scream3616@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-edit-on-github-1.0.1.tgz_1504238063967_0.009876331547275186"},"directories":{}},"1.0.2":{"name":"docsify-edit-on-github","version":"1.0.2","description":"edit on github plugin for docsify","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/njleonzhang/docsify-edit-on-github.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/njleonzhang/docsify-edit-on-github/issues"},"homepage":"https://github.com/njleonzhang/docsify-edit-on-github#readme","gitHead":"390d71a2e8781e8b119c8bc329c8fa5a7d6421ce","_id":"docsify-edit-on-github@1.0.2","_nodeVersion":"10.14.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-PlzBqQvVT2/7DyMI0sMhseLCThwpLlVMIKZ48ZvsFNt2EhSTQoOSuBZrRLRo8xn4Uj3HMJAa0OdZAsGrjcaBtQ==","shasum":"303d18debeafc5bb4b0d5373f22d0ba1e265c6cd","tarball":"https://registry.npmjs.org/docsify-edit-on-github/-/docsify-edit-on-github-1.0.2.tgz","fileCount":3,"unpackedSize":2539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqqovCRA9TVsSAnZWagAAgc4P/jv8Y8VcchlBz04pUG3X\neTNdRba/l9/L/uzJm467ZGhnAXPsL5mliEI9Jj5Crv6YysX5PapJ4ksHPSJw\nfv+1AEMSWOZ+GmPA/YThOYHVoQgsEmvlmtvd2jE1ninsq0GiIsJmxHEr39VU\nRK8tpp1chNwjf2xP+m5/yOQlABLu1vqVvIUFhmxvhXronICLbyF3si2US4nk\npPTlsGWSi9Jlx2YlAe2n1lmNmWGbKM23Ybn3eGzuXqQo5dppOc+g+kkSDVxs\n6zkkiKN9AJND2ROC1iqlJ97hvJLDZ7tk/3CxNJOnOSuMsXPjCvAqwRkVjmF8\n+AJuFXvxOX3QtuOS7RrHmibPMV3ssN26xN5QyTIBQWLDM5t48j2NKknw8Cou\nBs58LRlMcvtek4H4jkuCDn/oo0kIeB8BiEfzWtHq5qUE7/pHGvX41Jyjw+rJ\nS19x8dBY5bgluzTn4xWuTPeaUriiaKyUiRSbzz0o1yh1FOEPO4JilgbMFVdQ\n6hLNyImMHi6vxJI3gmaZ39dBEObvc+6I+J9t2CJZxD+bpQbY03Hwo+vgAm3z\nhMjdyaMDdH/icpFIXJN9HsR0kJ9Rd5XIGgOZGbPa4Oml/7LllLuIiiJwS2z+\nc5/RNhfIV/NTkrnn9Xj42kecEPhBjTsigQJXR7/hCPZWjFXJ28JPXh/IgtdM\nPZ3g\r\n=BH07\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6xlCxComokfuDY5D2tKkikw8WBG7L989T6kiEKDsNLgIgPlmK+Y5HPxtyJXJGwbRo4mXoTRsolTYeF4KK/lYYvFo="}]},"maintainers":[{"name":"njleonzhang","email":"scream3616@sina.com"}],"_npmUser":{"name":"njleonzhang","email":"scream3616@sina.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-edit-on-github_1.0.2_1554688558388_0.4160852634450505"},"_hasShrinkwrap":false},"1.0.3":{"name":"docsify-edit-on-github","version":"1.0.3","description":"edit on github plugin for docsify","main":"index.js","scripts":{"test":"docsify serve test"},"repository":{"type":"git","url":"git+https://github.com/njleonzhang/docsify-edit-on-github.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/njleonzhang/docsify-edit-on-github/issues"},"homepage":"https://github.com/njleonzhang/docsify-edit-on-github#readme","gitHead":"106b1baaa64612ef73bef422a293f848ebd6d97e","_id":"docsify-edit-on-github@1.0.3","_nodeVersion":"10.14.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-18F4LrmTELsl4q46M68FuTD2LJnibp19s7uvaYEpC67ql3nfJGxu1wMujuYfPfJZPJjU1aDK2hEMuuRiNqmnnA==","shasum":"64243e2f6882d5da6bc05894b8eafe6f8292e0cc","tarball":"https://registry.npmjs.org/docsify-edit-on-github/-/docsify-edit-on-github-1.0.3.tgz","fileCount":5,"unpackedSize":5682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0pcbCRA9TVsSAnZWagAAWc8P/0xMs3uPwcD3gHKDCIEc\n/HQAymP6X2WSr2qKTWp3Jr6tEwqkWqYwYVbQJ2yaWAqSAPEQFco2BEpyn3jW\nCuGow8SKinh7oBgFXffOG3DoWvAXeVdoiLzpEtvDe/QwJO0v+RdSXGTvLIK7\nnnt8OiUGoqHrVBPiUgET0X1f+uLA/9d9tyXqnaDdI4oXV8xgjHLhaoXy/F+T\nuim8028n6njARpZyQxgCEMGPWvueK81KcCrBn+SyKFouWAe7DMlLegtqcB6Q\n2HF/kZecUpIBw537M9yEI1Nw32XKYSBdfkfV+O+MBu2nOZhir5lfDShNLeQn\ny5JAh8BmRbLFB46N8SQ+ZsOt1crp/PymiUzsJ8gniXxfhb7IAdDIuIq72BvD\n5+FCcvSB9N5eBzWKFXPZ21CU9fHCF/UMUDE6fB3omQ5box21x4qXFEtGrSI5\ng0SlXqlpC+0ucELrimmQBt+DHKuAjdWv7tqcvMq5jgyOv4tgHLrmJrMfiSl+\nxWBizeX6UUD9dR1pPWKGOeT78G4TGaP2EGSFKToKhMEfaWGdGT23fOBV3XJy\n47A8SIh243Jswt1q+0JHtj1SDsbOROGe0a/QKM+hfhMi80suf/ARNKzg7Bw9\naWIHFSxI7jDjkHiSROjno62CEgHXQSXoIpDJ7VD80Hq6oIAydq/e6Q3VoXwE\n/oRX\r\n=Ut5Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqyAN1QcQJPfLAm7JZTWIDHoeZquFm8pQN/sxYcfiL4AiB4IBsZJOKCw+CPB5SMo6loNpofEzHg0oA2aYM4/RnPeg=="}]},"maintainers":[{"name":"njleonzhang","email":"scream3616@sina.com"}],"_npmUser":{"name":"njleonzhang","email":"scream3616@sina.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/docsify-edit-on-github_1.0.3_1574082331113_0.13875642922232778"},"_hasShrinkwrap":false}},"readme":"# docsify-edit-on-github\nA plugin for docsify to generate a `edit on github` button on every pages. click the button to open corresponding `md` editing page on github.\n\n```html\n<script src=\"//unpkg.com/docsify-edit-on-github/index.js\"></script>\n```\n\n```html\n<script>\n  window.$docsify = {\n    // your config\n    // ...\n    plugins: [\n      EditOnGithubPlugin.create(docBase, docEditBase, title)\n    ]\n  }\n</script>\n```\n\n* `docBase`: [String] the document folder of your github project (e.g.: https://github.com/docsifyjs/docsify/blob/master/docs/)\n* `docEditBase`: [String] edit link of your github pages, by default, this is set automatically according to `docBase`\n* `title`: [String | Function] the text of the button, default value: `Edit on github`. If passed as function, then the title can be customized according to file path. for example:\n  ```\n    EditOnGithubPlugin.create(\n      'https://github.com/docsifyjs/docsify/blob/master/docs/',\n      null,\n      function(file) {\n        if (file.indexOf('en') === -1) {\n          return '编辑'\n        } else {\n          return 'edit on git'\n        }\n      }\n    )\n  ```\n\n[Code example](https://github.com/njleonzhang/vue-data-tables/blob/6bb632419506a14ceff559708180883097d5afa2/docs/index.html#L179-L181)\n\n[Result example](https://www.njleonzhang.com/vue-data-tables/#/en-us/basic)\n","maintainers":[{"name":"njleonzhang","email":"scream3616@sina.com"}],"time":{"modified":"2022-06-15T20:21:39.784Z","created":"2017-08-31T07:48:15.108Z","1.0.0":"2017-08-31T07:48:15.108Z","1.0.1":"2017-09-01T03:54:24.054Z","1.0.2":"2019-04-08T01:55:58.543Z","1.0.3":"2019-11-18T13:05:31.262Z"},"homepage":"https://github.com/njleonzhang/docsify-edit-on-github#readme","repository":{"type":"git","url":"git+https://github.com/njleonzhang/docsify-edit-on-github.git"},"bugs":{"url":"https://github.com/njleonzhang/docsify-edit-on-github/issues"},"license":"ISC","readmeFilename":"README.md"}