cobra-utils

1.0.3 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i cobra-utils

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

212 kB

Total Files

8

Last publish

Collaborators

  • candy-_-