New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nat-geolocation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nat-geolocation

Nat.js module for weex: Geolocation

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

nat-geolocation

  • Documentation
  • Github

Installation

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

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// get
Nat.geolocation.get((err, ret) => {
    console.log(ret)
})

// watch
Nat.geolocation.watch((err, ret) => {
    console.log(ret)
})

// clearWatch
Nat.geolocation.clearWatch()

</script>

See the Nat Documentation for more details.

Keywords

nat

FAQs

Package last updated on 17 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts