Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-persian-digit

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-persian-digit

> this filter convert number in the text to persian number

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue-persian-digit

this filter convert number in the text to persian number

Installation

NPM

npm install vue-persian-digit --save

When used with a module system, you must explicitly install the filters via Vue.use():

import Vue from 'vue'
import VuePersianDigit from 'vue-persian-digit'

// Vue.install(VuePersianDigit); // Vue V1 
Vue.use(VuePersianDigit);        // Vue V2

How To Use?

  • Example:

    {{ msg | persianDigit }} // 'سلام این متن شامل اعداد بصورت انگلیسی میباشد. برای مثال شما عدد 1234567890 رو در نظر بگیرید.' => 'سلام این متن شامل اعداد بصورت انگلیسی میباشد. برای مثال شما عدد ۱۲۳۴۵۶۷۸۹۰ رو در نظر بگیرید.'
    

Keywords

FAQs

Package last updated on 11 Aug 2020

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