1.0.3 • Published 4 years ago

cobra-utils v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Cobra-Utils

Common Tool Functions (based on Typescript to build and realize)

Installation

You can install and save an entry to your package.json with the following command:

$ npm i cobra-utils -D

Usage

<template>
  <div class="hello">
    <h2>{{"18912345678" | hiddenPhone}}</h2>
  </div>
</template>

<script>
import { formatHiddenPhone } from "cobra-utils"

export default {
  name: 'HelloWorld',
  filters: {
    hiddenPhone(value) {
      return formatHiddenPhone(value)
    }
  }
}
</script>
1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago