Skip to content

Encapsulation of common tool classes。常用工具类封装。

Notifications You must be signed in to change notification settings

suguangwen/neky-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neky-utils

Encapsulation of common tool classes。

常用工具类封装。

Wiki

安装//Install

npm install neky-utils --save

ES6

import _u from 'neky-utils'

import type from 'neky-utils/type'
import {type} from 'neky-utils'
// type Use alone
// 单独使用type类

CommonJS

var _u =  require('neky-utils');

var _type =  require('neky-utils/type');
// _type Use alone
// 单独使用type类

直接引用//Direct include

<script src="../node_modules/neky-utils/dist/index.js"></script>
// _u Global injection
// _u函数将会全局注入
// window._u

使用方法//Usage

    import _u from 'neky-utils'
    _u.type.isNumber(111)
    // true
    _u.type.isNumber('aaa')
    // false

License

MIT

About

Encapsulation of common tool classes。常用工具类封装。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published