vue-ip-highlighter

1.0.12 • Public • Published

vue-ip-highlighter

A Vue component that highlights IP addresses and shows detailed information in a tooltip.

Installation

npm install vue-ip-highlighter

Usage

Global Registration

import Vue from 'vue'
import IPHighlighter from 'vue-ip-highlighter'

Vue.use(IPHighlighter)

Local Registration

<template>
  <div>
    <ip-highlighter>
      <div>
        Example IP: 192.168.1.1
      </div>
    </ip-highlighter>
  </div>
</template>

<script>
import { IPHighlighter } from 'vue-ip-highlighter'

export default {
  components: {
    IPHighlighter
  }
}
</script>

Props

Property Type Default Description
apiUrl String https://your-api.com/ip API address
requestConfig Object { credentials: 'include' } Request configuration

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.121latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.121
1.0.111
1.0.101
1.0.91
1.0.81
1.0.71
1.0.61
1.0.50
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i vue-ip-highlighter

Weekly Downloads

12

Version

1.0.12

License

MIT

Unpacked Size

27.8 kB

Total Files

5

Last publish

Collaborators

  • shenhh