Skip to content

Commit

Permalink
文档添加npm图标
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuecn committed Dec 1, 2019
1 parent fef31a5 commit f24236c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ mp3使用lamejs编码(CBR),压缩后的recorder.mp3.min.js文件150kb左右(

*IOS、国产系统浏览器上的使用限制等问题和兼容请参阅下面的知识库部分。*


<p align="center"><a href="https://github.com/xiangyuecn/Recorder"><img width="100" src="https://gitee.com/xiangyuecn/Recorder/raw/master/assets/icon.png" alt="Recorder logo"></a></p>

<p align="center">
<a href="https://github.com/xiangyuecn/Recorder"><img src="https://img.shields.io/github/stars/xiangyuecn/Recorder?color=0b1" alt="Stars"></a>
<a href="https://github.com/xiangyuecn/Recorder"><img src="https://img.shields.io/github/forks/xiangyuecn/Recorder" alt="Forks"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/v/recorder-core?color=f60" alt="Version"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/dm/recorder-core" alt="Downloads"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/l/recorder-core" alt="License"></a>
</p>

# :open_book:快速使用

Expand Down
8 changes: 8 additions & 0 deletions app-support-sample/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
[Recorder](https://github.com/xiangyuecn/Recorder/) | RecordApp

<p align="center">
<a href="https://github.com/xiangyuecn/Recorder"><img src="https://img.shields.io/github/stars/xiangyuecn/Recorder?color=0b1" alt="Stars"></a>
<a href="https://github.com/xiangyuecn/Recorder"><img src="https://img.shields.io/github/forks/xiangyuecn/Recorder" alt="Forks"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/v/recorder-core?color=f60" alt="Version"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/dm/recorder-core" alt="Downloads"></a>
<a href="https://www.npmjs.com/package/recorder-core"><img src="https://img.shields.io/npm/l/recorder-core" alt="License"></a>
</p>

# :open_book:RecordApp 最大限度的统一兼容PC、Android和IOS

[在线测试](https://jiebian.life/web/h5/github/recordapp.aspx)`RecordApp`源码在[/src/app-support](https://github.com/xiangyuecn/Recorder/tree/master/src/app-support)目录,当前`/app-support-sample`目录为参考配置的演示目录。`RecordApp``Recorder`提供基础支持,所以`Recorder`的源码也是属于`RecordApp`的一部分。
Expand Down
14 changes: 14 additions & 0 deletions assets/npm-home/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,18 @@ npm install recorder-core
1. 运行根目录/src:npm start,进行文件copy
2. 进入assets/npm-home/npm-files目录,进行提交

```
//登录,注意一定要使用npmjs的源
npm login
//发布包
npm publish
//查询当前配置的源
npm get registry
//设置成淘宝源
npm config set registry http://registry.npm.taobao.org/
//换成原来的源
npm config set registry https://registry.npmjs.org/
```
@@Remove End@@
4 changes: 4 additions & 0 deletions assets/npm-home/hash-history.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[
{
"sha1": "d3664bfcc3af571d84206cf7969582041ed2f323",
"time": "2019-12-1 14:45:31"
},
{
"sha1": "2cdef7c21b86f2bac5d8cafd3ec7b4d170dcfddf",
"time": "2019-12-1 13:37:01"
Expand Down

0 comments on commit f24236c

Please sign in to comment.