vue-extentions

1.0.27 • Public • Published

vue-extentions [test]

  • This is the repository for Çağdaş SANCARBARLAZ
  • View vue-extentions.
  • Supports Vue 3, Vue 2

Supporting

vue-extentions is part of the Vue Ecosystem and is an MIT licensed open source project whose continuous development is made possible entirely with the support of Sponsors. If you would like to become a sponsor, please contact us.

Sponsors

Installation

npm install vue-extentions

Usage

console.log("123".toPadLeft(5,'0'))  /* Result ---> 00123*/
console.log("123".toPadRight(5,'0'))  /* Result ---> 12300*/
console.log("cagdas".toFirstUpper())  /* Result ---> Cagdas*/
console.log("A123".isNumber())  /* Result ---> false*/

Functions

Name Result Description
isNumber bool Method that returns whether the String object can be converted to Number
toPadLeft string Adds the specified number of objects to the left of the incoming object.
toPadRight string Adds the specified number of objects to the right of the incoming object.
toFirstUpper string Method that capitalizes the first letter of the object

Package Sidebar

Install

npm i vue-extentions

Weekly Downloads

5

Version

1.0.27

License

MIT

Unpacked Size

5.83 kB

Total Files

7

Last publish

Collaborators

  • cagdassancar