nat-network-stream

0.1.2 • Public • Published

nat-network-stream

Installation

weexpack plugin add nat-network-stream
npm install natjs --save

Usage

Use in weex file (.we)

<script>
import 'Nat' from 'natjs'

Nat.fetch('http://domain.com/api', {
    method: 'GET',
    type: 'json'
}, (err, ret) => {
    console.log(ret)
})

</script>

See the Nat Documentation for more details.

Package Sidebar

Install

npm i nat-network-stream

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • natjs