1.0.0-alpha.1 • Published 6 years ago

nat-transfer v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

nat-transfer

Installation

weexpack plugin add nat-transfer
npm install natjs --save

Usage

Use in weex project (.vue/.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.