nat-network-transfer
v0.1.2
Published
Nat.js module: Network File Transfer (download & upload)
Downloads
1
Maintainers
Readme
nat-network-transfer
Installation
weexpack plugin add nat-network-transfer
npm install natjs --save
Usage
Use in weex file (.we)
<script>
import 'Nat' from 'natjs'
Nat.download({
url: 'http://domain.com/file'
})
Nat.upload({
url: 'http://domain.com/upload',
path: 'filepath'
})
</script>
See the Nat Documentation for more details.