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

@xgoteam/xgo-js-bridge

v1.2.2

Published

jsBridge

Downloads

25

Readme

JsBridge

Contributing 贡献指南

  1. 准备:请确保你的npm库源地址是官方npm

    
    npm config set registry https://registry.npmjs.org/
    
  2. 注册:请先在 官网用您的企业邮箱注册一个账号,然后通知xgoteam npm账号管理员发出邀请,加入本项目的维护者。

  3. 登录:使用以下命令登录npm账号

    $ npm login
    输入你的用户名与密码
  4. 【请不要在master分支直接改代码!】新建一个分支,在新的分支上修改代码,当修改完毕,请先在npm上直接发布代码来验证你的修改

  5. 测试:首先在package.json文件内修改npm发布版本号,npm发布版本号必需是唯一的!不然会导致发布失败

    {
      "name": "@xgoteam/xgo-js-bridge",
      //修改新的版本号
      "version": "1.0.14",
      "description": "jsBridge",
    }
  6. 版本号编码规则:X.XXX.XXX 【X(重构整个项目的修改).XXX(阶段性修改:一般为功能拓展、内部方法实现重构).XXX(测试版本)】

  7. 打包:请先在运行以下命令,调用webpack进行本地打包。因为,最终项目中使用的代码是webpack进行处理压缩后的代码(./dist/index.js)

    $ npm run build
  8. 上传:上传到npm库,运行以下命令

    $ npm publish
  9. 定版:测试通过后,请把当前分支合并到master,并在master上打上tag(版本跟package.json 的version相同)

Release History 版本历史

  • 1.0.16
    • 完成上传模块功能