Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including um-share-core with all npm packages installed. Try it out:

var umShareCore = require("um-share-core")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

um-share-core v1.2.5

友盟H5端的分享追踪 ## 设计思路 采用核心包+插件方式 - 核心包提供一个方法,该方法按照协议上报到友盟分享统计链路,实现时遵循兼容性优先原则, 能独立运行,并适当对外插件暴露必要的设置方法和生命周期事件。 - 插件可以监听核心包事件,并能够调用核心包的统计链路,能够设置核心包提供的公共属性

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free