1.3.6 • Published 6 years ago
jrmf-utils v1.3.6
jrmf-utils
jrmf-utils JavaScript tool library
Internal encapsulates the commonly used browser object, array, function, purpose is to achieve the effect of the box.
Installation
Using npm
npm install jrmf-utils // or yarn add jrmf-utils
In a browser
<script src="https://cdn.jsdelivr.net/npm/jrmf-utils/dist/jrmf-utils.js"></script>
<script>
jrmfUtils.isPhone('1510166000') // return false
</script>
CommonJs
// Load the full build.
const jrmfUtils = require('jrmfUtils')
jrmfUtils.isPhone('1510166000') // return false
// Load method categories.
const isPhone = require('jrmfUtils/isPhone')
// or ES6
import isPhone from 'jrmfUtils/isPhone'
isPhone('1510166000') // return false
Docs
Array
Browser
Regexp
isPhone isEmail isCardNo isBankno isChinese
DOM
Scroll
Spinner
/**
* 'android', 'ios', 'ios-small', 'bubbles', 'circles', 'crescent', 'dots', 'lines', 'ripple', 'spiral'
*/
var ele = $('.v-spinner')
jrmfUtils.Spinner(ele[0], 'android')
License
MIT
1.3.6
6 years ago
1.3.5
6 years ago
1.3.4
6 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.0
6 years ago
1.2.11
6 years ago
1.2.10
6 years ago
1.2.9
6 years ago
1.2.8
6 years ago
1.2.7
6 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago