{"name":"heti","version":"0.5.0","keywords":["typography","clreq","css","sass","scss"],"author":{"name":"Sivan","email":"sun.sivan@gmail.com"},"license":"MIT","_id":"heti@0.5.0","maintainers":[{"name":"sivan","email":"sunxingfan@xiaomi.com"}],"homepage":"https://github.com/sivan/heti#readme","bugs":{"url":"https://github.com/sivan/heti/issues"},"dist":{"shasum":"13058982600f72c550fa42177bc520adf7c068da","tarball":"http://registry-npm.ywwl.com/heti/download/heti-0.5.0.tgz","fileCount":25,"integrity":"sha512-F5fO/LwDpabNIgymSoyi3HAbikFRHbG5Kb1geaXFSpZdRM0Dw3INHwsY6IF31pWmwWRRNriqcvzLCF2LmD9UwA==","signatures":[{"sig":"MEYCIQCnB1Gvboei3gevLBui2xjHWktJteTnktkzSdd0SUJu2wIhAKJ9acWnV3jpH11cRyrVgnclxFZ4gwhyAUjat6yPwfIf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebidOCRA9TVsSAnZWagAAhEUP/29bNEYCY9/auTCrVglV\nfYg+DqqW5j0EPUjM07mniuxTbN070UxWRjmXK5BkSBPN6MC6gmW45HFM30p/\nPBajCPvQeuxJixm4DVwAEFka78hCmoBL/EsJap3Tsg6zqt2p5WveH9J0SsI7\nlp+nhYL0YdjkgU9r4fAMTMGpKxgTMVQjQf3HmKXq8ty+7w6eNnOCtQ0CrMrB\n8i2oApyVewuyORH+Yjw3BwnhXIVRInHi2INzpaA51I0W94BntcImSs5AepGw\nuuHuMq0wR6lg+gxO1p1pSBjKaxcFfYMQvvpcAq0kb8aPfZvYhuV0gY23iMjA\nzh6fCvFyT6JgVQf0ecL1D7ZFxSn83TzGDgooOGrgvKBymfG6Hkd4TUifXDqG\nvSLTzJIdwh3ZT/puwX2KZTDzcuxIyV2tSqh4Ymm3U8TKA1J3Xy5qc/Vfg+4o\nRapWDcS4e2GWkAC1LZIyRqX7DvM34F9qMJnN6DNLnEfk2DryNqP3Xl/XiFuj\ntyI3FH4i8fYn6NTgRzSYZGUBieyg9Ie+Apwr3eFpb2P6mO4ZvvmqG2UkVwMf\n3Jn2CQHhmIuRatooFMTh39YqFKpGPZcNgdKbYn4uOa1s7F/P+6gfaWHRy72G\nAGwYli3MUgkMb9EMXgUsbxSsirSzstIkiZQTuhOse/mv1uiKfdVs6NuCQxuj\nVhvB\r\n=JIdG\r\n-----END PGP SIGNATURE-----\r\n","size":16998,"noattachment":false,"key":"/heti/-/heti-0.5.0.tgz"},"main":"lib/heti.scss","gitHead":"c37bd4c0e1c844ac85e8bb06c678d833296b33ed","scripts":{"test":"npx stylelint --config package.json 'lib/**/*.scss'","build":"npm run build:style && npm run build:script","start":"node-sass -w --output-style=expanded lib/heti.scss _site/heti.css","compile":"rollup -c -w","build:style":"node-sass lib/heti.scss umd/heti.min.css --output-style=compressed","build:script":"rollup -c"},"_npmUser":{"name":"sivan","email":"sunxingfan@xiaomi.com"},"stylelint":{"rules":{"selector-type-no-unknown":[true,{"ignore":["custom-elements"]}],"no-descending-specificity":[true,{"ignore":["selectors-within-list"]}]},"extends":["stylelint-config-standard","stylelint-config-recommended-scss"]},"repository":{"url":"git+https://github.com/sivan/heti.git","type":"git"},"_npmVersion":"6.13.4","description":"赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来，可以为网站的读者带来更好的文章阅读体验。","directories":{},"_nodeVersion":"10.19.0","dependencies":{"heti-findandreplacedomtext":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^1.32.0","node-sass":"^4.13.1","stylelint":"^13.0.0","stylelint-scss":"^3.13.0","rollup-plugin-terser":"^5.2.0","@rollup/plugin-commonjs":"^11.0.2","stylelint-config-standard":"^19.0.0","@rollup/plugin-node-resolve":"^7.1.1","stylelint-config-recommended-scss":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/heti_0.5.0_1584277326487_0.6682912108410575","host":"s3://npm-registry-packages"},"readme":"# 赫蹏\n\n赫蹏（hètí）是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来，可以为网站的读者带来更好的文章阅读体验。\n\n预览：[https://sivan.github.io/heti/](https://sivan.github.io/heti/)\n\n![Preview](https://raw.githubusercontent.com/sivan/heti/master/_site/assets/screenshot-grid.png)\n\n主要特性：\n- 贴合网格的排版；\n- 全标签样式美化；\n- 预置古文、诗词样式；\n- 预置多种排版样式（行间注、多栏、竖排等）；\n- 多种预设字体族（仅限桌面端）；\n- 简/繁体中文支持；\n- 自适应黑暗模式；\n- 中西文混排美化，不再手敲空格👏（基于 JavaScript 脚本）；\n- 全角标点挤压（基于 JavaScript 脚本）；\n- 兼容 *normalize.css*、*CSS Reset* 等常见样式重置；\n- 移动端支持；\n- ……\n\n总之，用上就会变好看。\n\n## 使用方法\n\n1. 在页面的 `<head>` 标签中引入 `heti.css` 文件：\n    ```\n    <link rel=\"stylesheet\" href=\"//unpkg.com/heti/umd/heti.min.css\">\n    ```\n1. 在要作用的容器元素上增加 `class=\"heti\"` 的类名即可：\n    ```\n    <article class=\"entry heti\">\n      <h1>我的世界观</h1>\n      <p>有钱人的生活就是这么朴实无华，且枯燥</p>\n      ……\n    </article>\n    ```\n1. 使用增强脚本（可选）：\n    ```\n    <script src=\"//unpkg.com/heti/umd/heti-addon.min.js\"></script>\n    <script>\n      const heti = new Heti('.heti');\n      heti.autoSpacing(); // 自动进行中西文混排美化和标点挤压\n    </script>\n    ```\n\n\n## WIP\n\n暂时没什么想做的了。\n\n- [x] 自适应黑暗模式\n- [x] 标点挤压\n- [x] 中、西文混排\n- [x] 繁体中文支持\n- [x] 诗词版式\n- [x] 行间注版式\n\n## Star History\n\n谢谢每一位加星的朋友，让这个疫情期间憋在家里无聊做的小项目有了更大的价值。\n\n[![Star History Chart](https://api.star-history.com/svg?repos=sivan/heti&type=Date)](https://www.star-history.com/#sivan/heti&Date)\n\n-- EOF --\n","publish_time":1584277326620,"_cnpm_publish_time":1584277326620,"dist-tags":{"latest":"0.9.6"}}