New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mathewparet/vue-common-filters

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mathewparet/vue-common-filters

A Vue.js set of common filters

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@mathewparet/vue-common-filters

A Vue.js set of filters that can commonly used

Installation

npm i @mathewparet/fvue-common-filters

Usage

Vue Initialization

import Vue from 'vue';
import filters from "@mathewparet/vue-common-filters";
Vue.use(filters);

Vue Usage

<div> Trimmed name is {{name | trim(15)}}</div>

Available Filters

trim()

ParameterDescriptionRequred?Default
max_lengthMaximum length after which text should be trimmedNo10
leadThe indicator text that shows text was trimmedNo...

dateFormat()

ParameterDescriptionRequired?Default
formatThe date format to be converted to. More formats can be found in moment's API. (https://momentjs.com/docs/#/parsing/string-format)Nolll
current_formatThe format in which the current date is fed inNoYYYY-MM-DD

FAQs

Package last updated on 20 Dec 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc