my-prototypes v0.7.6
my-prototypes
Add Array, Numbers, Object and String prototypes in your project.
Install
npm install my-prototypes
Use
require('my-prototypes').init()
Check the documentation for the usage. Version 0.7.4
Array prototypes
Number prototypes
Object prototypes
String prototypes
- capitalize
- capitalizeAll
- getDateEU
- getDateUS
- getDbDate
- getDbDateTime
- htmlEscape (exclude ":", ";" and "#")
- htmlUnescape (exclude ":", ";" and "#")
- repeat
- reverseWord
- substringAfterTo
- substringBeforeTo
- validateContent (dateEU, dateUS, time, email, ip-address, alphanumeric and phone)
License ISC
Copyright (c) 2015, Marco Somma.
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago