{"_id":"@df_business/tools-nj","_rev":"11-f9ffe4900868f791730be1cb12c91e50","name":"@df_business/tools-nj","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@df_business/tools-nj","version":"1.0.0","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.0","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"b977aec1e4ef645befedcf50a5b03f3a04be8ed4","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.0.tgz","fileCount":11,"integrity":"sha512-0w2MUw36zgKDf48gOub4RULqgXVIXGZsPL8H4Lvq/cZLF39e/Avzk0KM2dwj1XPiOZdPgJvDDwpnd5nfuRzj8g==","signatures":[{"sig":"MEQCIC28NZh+KpANqkqhvUG6ypMyU9XBkv1DHWj9Y3i8YVfvAiAscXWtCeUFkypPr4gYmiwdauaLHN/VVPZnkgF8xQIp3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37294},"main":"index.js","gitHead":"d916fb63e46ec0d570dbfb3c4e30382f7f3d7f5c","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-vue","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.0_1709718498838_0.17128798581626037","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@df_business/tools-nj","version":"1.0.1","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.1","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"fbc391a98b88921b3955ae94719f89427854ead9","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.1.tgz","fileCount":11,"integrity":"sha512-UREnZuHHOMsElf+CGuxI4/rFtmTkZKG1u480ZjoJqXi3S1SEgrG5Cr7HCPAy8Bu6dqi5wShBJkYCQjmID5lpMg==","signatures":[{"sig":"MEUCIBaWR5a9HLInkxG/MKQSOx1iFgHOAbeEBlzgHL3n+1DaAiEAwOVdOrx7Ty/1/ycyf/0XPZilroBYpLdYNAKwAPaDPGQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37294},"main":"index.js","gitHead":"7a78efbcc015278ee72666036dd0ca6b8d898383","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-vue","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.1_1709718591322_0.02749014884235379","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@df_business/tools-nj","version":"1.0.2","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.2","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"3c76cebd8f0f8799f3b4fe3f425cf3fe6a6bd095","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.2.tgz","fileCount":11,"integrity":"sha512-nMTHTukl4tMg7KJOBCEky8OAGfqr3q8FShuq6BrIEZJY7GSBgNlQKJypqRRbMp0OvXlemPtV5DoXM02GYtSd1g==","signatures":[{"sig":"MEUCID22XUQNnfOKjNxauLiEVmDsk5Ju0VA6q+fs/cbRQ2wlAiEAksPyJVQ0qP0xuJmph+42cm7bgnLdoTC/YARNxkquTyo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37563},"main":"index.js","gitHead":"be0863f4a00fd6c51bfc97ae4465ff8136ff325b","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-vue","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.2_1709718873129_0.04885527541214563","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@df_business/tools-nj","version":"1.0.3","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.3","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"3b85a7f32acda9f476ac72d9000a4dab5faf85ee","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.3.tgz","fileCount":11,"integrity":"sha512-MDj5R07PYd6jAsGUPGWsExIGAn2ZFwchRjT3WOwXiHfAVJQXY+eRt2fgE9JuYjkyZp6rb7vhbRkrB1Z+1M05hQ==","signatures":[{"sig":"MEYCIQCrWCYLvczMMMhj6PFit1H4IlJkcNZcCi4W1+aNksvpfQIhAJnaObD8Gibo00+w/yAXCL9FUFWcvK9a0XRsZ2ABb2ia","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36677},"main":"index.js","gitHead":"c0b1fa9c5b8dae1560336074026d4200efce58af","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-vue","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.3_1709798079255_0.7126131918328498","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@df_business/tools-nj","version":"1.0.4","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.4","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"837b1ac1d7abb87fbe59a1b9e56d0a4f578ba609","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.4.tgz","fileCount":11,"integrity":"sha512-pELWVt5Atp33zwB8SNFqNQaui6Q12y+x5xs3HTv3cNz6ohC81VBF877okHWrwVNFAE3q/hwtJoDHFm1IcN9qng==","signatures":[{"sig":"MEQCIGQRFc1bRWxZA5m5lVcsmNGmqcULSnu4I51X6kB2c6C+AiByn0e5COMYOB5FqqqRULa/wjXSruiBF8cRblmCLbs18g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36685},"main":"index.js","gitHead":"062636c9c13e48090480042c9bd772c3e8b9c1a0","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-vue","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.4_1709798140774_0.6955879631079409","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@df_business/tools-nj","version":"1.0.5","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.5","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"ad33357d5448fac538ef76a0ef26ba8af9aee3c0","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.5.tgz","fileCount":11,"integrity":"sha512-9ajxxr2/S9G52rLH7QTWXvwoIs7RLIEZDUTSA3pMKS+frcyVJ1WWIvfqrs1WYQyWhLQmnvQotj9rJr/2CwIpXQ==","signatures":[{"sig":"MEUCIQCa1U0Su6b1QL/gVF07G/XRz1fCBz8cOQaqylOPd8JjUQIgN2YfyGyGlor3a8jmydVSkYv872gi6UvLGafXUGUYxbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36684},"main":"index.js","gitHead":"dfaae43263c3a2f340f641685494f7f89c7301be","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-nj","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.5_1709799017935_0.8887106300451735","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@df_business/tools-nj","version":"1.0.6","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.6","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"f1b30ae9b4774d3e712802cf77b9f5699ea7a8c2","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.6.tgz","fileCount":11,"integrity":"sha512-1y8GklVk5yqvHyxDGoF/2I7F+3W9jmO/E/x6XSr8VwlrtoXl7Xdj4TIWCTB9M3vaYm+9Gb6+K+kwU7Q8m3xYhA==","signatures":[{"sig":"MEYCIQCk3dkfnDDWqygGKto5asC/uP59iXxh60Ek+6GhhTs02wIhAPQqayCA6WWfpuwQ6Ehpc158duu3wx7ry2DalX8iW+Y9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36719},"main":"index.js","gitHead":"63ad2fe985ec083171bef4690555c05e0274e742","scripts":{"v":"type version","tag":"git tag"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-nj","type":"git"},"_npmVersion":"9.6.7","description":"nodeJS工具包","directories":{},"_nodeVersion":"20.3.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.6_1709883297463_0.7308169327103498","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@df_business/tools-nj","version":"1.0.7","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.7","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"5ce76beac95e6c27f3c3af6fc150e437b539cedb","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.7.tgz","fileCount":11,"integrity":"sha512-F2NE7nL4eYj4ctiTQQx1eabY2+Zaq7QHpUjdSAJ3xgyzKalfYLEP6y2DFDvCV1xSDLss2zOHSoLh+FUQKzAuqg==","signatures":[{"sig":"MEYCIQDx01vFhs4/gkEL2o01n1zbvCzqtdVzzunBXfqZT+ev6QIhAJYV8xq5lKatYdBFiuit4ote+2a0faUYu6nVQeaf/y34","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45764},"main":"index.js","gitHead":"1dcc4634108292041575debac3d0315d3b5e0536","scripts":{"v":"type version","tag":"git tag","test":"node test.js"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-nj","type":"git"},"_npmVersion":"6.14.18","description":"nodeJS工具包","directories":{},"_nodeVersion":"14.21.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.7_1728887408294_0.7825776918650702","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@df_business/tools-nj","version":"1.0.8","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.8","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"8917274192f8246855f7e22daa632a9e9b5e1e92","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.8.tgz","fileCount":11,"integrity":"sha512-x05YnFhf8ZHr43hb1ITMGKhqzBVuGZH/aBWchDqV+PxILfzit1jG2KIetNWW/4xRrjSiLVw9Wjerc/0teyWbfw==","signatures":[{"sig":"MEQCIA1k6hikReRbcz3E+xxKnbK7Cqmsdr5EESbJw2FQT/LhAiBqO0v6DiZyfqKO4iqKMW8jkfQPzA4bYAAr4Xm/SPgwEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47879},"main":"index.js","gitHead":"7a9c3cc1fb8804b70eb5f9101478a073798ccb2d","scripts":{"v":"type version","tag":"git tag","test":"node test.js"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-nj","type":"git"},"_npmVersion":"11.6.2","description":"nodeJS工具包","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.8_1772010941298_0.9436788130324807","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@df_business/tools-nj","version":"1.0.9","keywords":["df","dfer","dfer.site"],"author":{"name":"df"},"license":"MIT","_id":"@df_business/tools-nj@1.0.9","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"homepage":"http://www.dfer.site","dist":{"shasum":"99f99552580db4c69581b679b9809f984e418296","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.9.tgz","fileCount":11,"integrity":"sha512-6UBufwjZRHGdygPDTkMXrHZkTkjMU2BAaVZBhJ1ZuIPZHdEucrUo7aIazmhUcpH+cH8OimfU8l/xPHd4aQdvFw==","signatures":[{"sig":"MEUCIQCOalZFWimGNEmz9SwhA+6DwRARTga5H9haXZPFr4L/IwIgJtPinVX5qFd03x3ak11jB4XEuNoKLSBiwH1tVFvRm7Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48135},"main":"index.js","gitHead":"7ba9f755c5c071d1b4f132b1c2f6999751268d18","scripts":{"v":"type version","tag":"git tag","test":"node test.js"},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"repository":{"url":"https://gitcode.net/dofun333/dfer-tools-nj","type":"git"},"_npmVersion":"11.6.2","description":"nodeJS工具包","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tools-nj_1.0.9_1772011380383_0.038709512650238365","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@df_business/tools-nj","version":"1.0.10","description":"nodeJS工具包","repository":{"type":"git","url":"https://gitcode.net/dofun333/dfer-tools-nj"},"main":"index.js","scripts":{"test":"node test.js","tag":"git tag","v":"type version"},"author":{"name":"df"},"homepage":"http://www.dfer.site","license":"MIT","keywords":["df","dfer","dfer.site"],"gitHead":"7820cfdf20bbedf9bc6002687ca8f7cf9cb532ce","_id":"@df_business/tools-nj@1.0.10","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-gDTDx1vljZUFYjtoL+2pcTpdDf+mxSQvCMClY/fNJZLK2l1hAaWiTXFbHP47nua72pV+rVNuZ2VRFIDHHyDBRw==","shasum":"79de1945b6edd32487ec55c52f66d8c97c91773e","tarball":"https://registry.npmjs.org/@df_business/tools-nj/-/tools-nj-1.0.10.tgz","fileCount":11,"unpackedSize":47959,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD3qV5BxYPakpVsiS2lgEZ6mcLD/e1E7ZXp5T8W3pXVkAIhANBMevVt56gGEGakUFuF+8WHPXkNPuy54WxFnsovHWF1"}]},"_npmUser":{"name":"df_business","email":"df_business@qq.com"},"directories":{},"maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tools-nj_1.0.10_1772011557849_0.6000960664566919"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-06T09:48:18.648Z","modified":"2026-02-25T09:25:58.263Z","1.0.0":"2024-03-06T09:48:19.017Z","1.0.1":"2024-03-06T09:49:51.454Z","1.0.2":"2024-03-06T09:54:33.298Z","1.0.3":"2024-03-07T07:54:39.608Z","1.0.4":"2024-03-07T07:55:40.969Z","1.0.5":"2024-03-07T08:10:18.158Z","1.0.6":"2024-03-08T07:34:57.633Z","1.0.7":"2024-10-14T06:30:08.524Z","1.0.8":"2026-02-25T09:15:41.437Z","1.0.9":"2026-02-25T09:23:00.540Z","1.0.10":"2026-02-25T09:25:57.990Z"},"author":{"name":"df"},"license":"MIT","homepage":"http://www.dfer.site","keywords":["df","dfer","dfer.site"],"repository":{"type":"git","url":"https://gitcode.net/dofun333/dfer-tools-nj"},"description":"nodeJS工具包","maintainers":[{"name":"df_business","email":"df_business@qq.com"}],"readme":"# nodeJS工具包\r\n## 简介\r\n- 包含了很多vue常用的程序\r\n- [package地址](https://www.npmjs.com/package/@df_business/tools-nj)\r\n\r\n### 测试\r\n```\r\nnpm run test\r\n```\r\n\r\n### 发布\r\n\r\n```\r\npublish.bat\r\n```\r\n\r\n### 使用\r\n```\r\n# 安装\r\nnpm i @df_business/tools-nj --save\r\n# 更新\r\nnpm update @df_business/tools-nj\r\n# 移除\r\nnpm r @df_business/tools-nj\r\n```\r\n\n```\nimport df_tools from '@df_business/tools-nj'\nVue.prototype.$df_tools = df_tools\n```\n\n```\nlet df_tools = require('@df_business/tools-nj');\nVue.prototype.$df_tools = df_tools;\n```\n\n```\nconsole.log(this.$df_tools.common.privacyMaskMiddle(\"13800138000\"));\n```\r\n\r\n## ws\r\n**main.js**\r\n```\r\nlet df_tools = require('@df_business/tools-nj');\r\nVue.prototype.$ws = df_tools.ws;\r\n```\r\n**index.vue**\r\n```\t\t\t\r\n<script>\r\n\texport default {\t\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\thost:'127.0.0.1:90'\t\t\r\n\t\t}\r\n\t},\r\n\tcreated() {\r\n\t\tthis.ws=this.$ws(this,{token:'asdfasdf'});\r\n\t},\t\t\r\n\tmethods: {\r\n\t\tonopen: function() {\r\n\t\t\tconsole.log(\"服务器连接成功\",this.ws.state());\r\n\t\t},\r\n\t\tonmessage: function(e) {\r\n\t\t\tconsole.log(e);\r\n\t\t},\r\n\t\tonclose: function() {\r\n\t\t\tconsole.log();\r\n\t\t},\r\n\t\tonerror: function(e) {\r\n\t\t\tconsole.log();\r\n\t\t},\r\n\t\tsend: function(data) {\r\n\t\t\tthis.ws.send(data);\t\t\t\t\r\n\t\t}\r\n\t}\r\n\t}\r\n</script>\r\n```\r\n\r\n## http\r\n**main.js**\r\n```\r\nlet df_tools = require('@df_business/tools-nj');\r\nVue.prototype.$http = df_tools.http;\r\n```\r\n**index.vue**\r\n```\t\t\t\r\n<script>\r\n\texport default {\r\n\tmethods: {\t\r\n\t\tget: function(para) {\r\n\t\t\tthis.$http.get('', para).then(function(data) {\r\n\t\t\t\tconsole.log(data);\r\n\t\t\t})\t\t\r\n\t\t},\r\n\t\tpost: function(para) {\r\n\t\t\tthis.$http.post('', para).then(function(data) {\r\n\t\t\t\tconsole.log(data);\r\n\t\t\t})\t\t\r\n\t\t}\t\t\r\n\t}\r\n\t}\r\n</script>\r\n```","readmeFilename":"README.md"}