npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cordova-devtool-hot-load

v1.0.0

Published

Hot load web page, develop programs used

Downloads

20

Readme

cordova-devtool-hot-load

cordova plugin add cordova-devtool-hot-load

cordova开发工具,真机热调试加载插件

  • 1、请确保你的手机wifi和你的开发电脑处于同一路由IP段下,并保证你的开发电脑防火墙端口(8686和8787)处于开启状态。

  • 2、先运行cordova build ([email protected] / ios)创建项目,插件会修改入口页面地址; 然后运行cordova run命令启动成功后即可; 修改项目根目录下的www目录内容即可看到项目页面即时变化。

  • 3、由于使用的cordova钩子,请使用cordova run命令调试运行,勿用编辑器调试工具,否则工具插件不能正常运行。

  • 4、钩子会将入口页面地址修改。在开始生产打包发布前,请删除本插件,并将你的config.xml里的content src="index.html"改回来。

  • 5、本工具适合用于非webpack热加载的web项目,如果你的项目是webpack热加载项目,请不要使用本插件.你可以将cordova的js文件拷贝引入到项目里,然后在电脑上运行你的web服务,接着直接修改config.xml的content src="你的web服务地址"来运行cordova,远程访问调试。

  • 插件原理(cordova钩子开发,cordova运行前更改入口页面地址为局域网开发电脑的ip地址,cordova运行成功后,node开启http服务和websocket服务,并将所有http请求的html和htm页面加入bundle.js钩子的websocket,通过监听文件改变发送websocket告知页面刷新)