New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ali-jump

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ali-jump

Applicable to Alipay small program universal jump.

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
5
-44.44%
Maintainers
1
Weekly downloads
 
Created
Source

适用于支付宝小程序的万能跳转

使用方式

  • npm i ali-jump 下载包

  • 引入 import { UniversalJump } from "../../node_modules/ali-jump/src/index";

  • 使用UniversalJump(param1, param2)进行跳转 跳转类型: 1. H5或者alipays param1 && param2 都传入同一个链接 2. 小程序 param1(支付宝页面路径) param2 (小程序appid)

    例: h5 UniversalJump('https://www.baidu.com/', 'https://www.baidu.com/') 小程序 UniversalJump('2021002145602083', 'pages/index/index')

Keywords

Alipay

FAQs

Package last updated on 13 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts