wxapp-r2
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

wxapp-r2

Greenkeeper badge Build Status Dependency License Prettier Node npm version

微信小程序的r2实现

Installation

npm install wxapp-r2 --save

example

Usage

 
// es6
import r2 from 'wxapp-r2';
 
// commonJS
const r2 = require('wxapp-r2');
 
async function main(){
    const res = await r2('https://api.github.com').json;
    console.log(res);
}

Related

wxapp-fetch fetch API implement for WeCHat App

wxapp-http 微信小程序的http模块,Tiny but Powerful

wxapp-XMLHttpRequest Web XMLHttpRequest implement for WeChat APP

Contributing

git clone https://github.com/axetroy/wxapp-r2.git
cd ./wxapp-r2
yarn
yarn run start
  1. 打开微信web开发者工具, 加载wxapp-r2/example目录
  2. 修改index.ts

欢迎PR.

You can flow Contribute Guide

Contributors


Axetroy

💻 🔌 ⚠️ 🐛 🎨

License

The MIT License

Readme

Keywords

Package Sidebar

Install

npm i wxapp-r2

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • axetroy