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 🙏

© 2026 – Pkg Stats / Ryan Hefner

jw-client

v0.0.19

Published

#### 一、介绍

Readme

Jw-client脚手架

一、介绍

jw-client是一个基于React+(Antd或Material-ui)进行快速开发Joywok项目的辅助工具。

二、安装

npm install jw-client -g

三、使用方法

jw-client init [name]
  1. 使用哪种UI框

    Material https://material-ui.com/zh/

    Antd https://ant.design/index-cn

  2. 项目名称

    如果在命令行后面不输入名称,此时需要输入在本地生成的文件夹名称。如果已经存在则会提示是否覆盖已存在目录。

  3. 项目注释

    在package.json中的description字段。

  4. 所有者

    在package.json中的author字段。

  5. 开发平台(平台不同,引入的组件库不同)(此命令仅限基于antd生成的框架使用)

    Web(开发web平台使用antd)

    Mobile(开发Mobile平台是用antd-mobile)

    开发不同的平台则使用的Joywok的封装的ui组件不同。web平台使用jw-components,Mobile平台是用jw-components-mobile

  6. 是否包含JSSDK开发框架(此命令仅限基于antd生成的框架使用)

     是否引入JSSDK开发文件
	<script type="text/javascript" src="https://www.joywok.com/dist/scripts/jssdk.js"></script>
	Joywok 面向开发者提供的基于 Joywok 手机客户端封装(移动端拍照、选图、语音等手机系统能力)的工具包
	<script type="text/javascript" src="https://www.joywok.com/public/scripts/connect-ide.js"></script>
	Joywok 面向开发者提供的 IDE 链接文件
  1. 是否包含JSSDK免登功能(此命令仅限基于antd生成的框架使用)

    项目中是否包含JSSDK免登功能,此功能需要上面的JSSDK开发框架

	jw.config({
		debug: false,
		appid: "xxxxxxxx", 
		timestamp: 0, 
		nonceStr: "", 
		signature: "",
		app_access_token: "",
		corpid: "xxxxxxx"
	});
	jw.ready = function () {
		app.router(require("./router"));
		app.start("#root");
	}
  1. 使用什么方式安装node_module

    有两种选择,npm install和yarn install

温馨提示:在~./npmrc文件中添加registry=https://registry.npm.taobao.org 可以用设置npm install的源为淘宝源。

后续程序将会自动下载选择的UI框架的基础开发包,替换对应的文件,并自动安装node_modules依赖模块。

一切就绪后,使用npm start启动项目即可开始开发。

jw-client module

此命令目前仅限基于antd生成的框架,用于快速生成开发模块(包含Model、Servers、Routers等)。