Newsworthy Presidential Mistakes
    Have ideas to improve npm?Join in the discussion! »

    sbiger-jsutil

    1.3.32 • Public • Published

    sbiger-jsutil

    Build Status Downloads Version License

    Javascript common utilities with ES6. you can build it to ES5

    Wiki/Documents is coming view wiki

    Contains

    Utils
    StringUtils
    BooleanUtils
    BigNumberUtils ( Function toBigNumber() depends on the BigNumber Library)
    DateUtil(beta-1)

    How to use

    • Install
        npm install sbiger-jsutil
    
    • Use
        var jsutil = require('sbiger-jsutil') //ES6: import jsutil from 'sbiger-jsutil'
        //1.
        console.log(jsutil.Utils.isString('')) //true
        console.log(jsutil.StringUtils.equals('','')) //true
     
        //2.
        jsutil.Utils.isString('', function(result){
            //TODO
        })

          you can also import single library to use like this

        var Utils = require('sbiger-jsutil').Utils
     
        //ES6
        import { Utils } from 'sbiger-jsutil/lib/Utils'

    How to Dev

    • Init
        npm install
    
    • Build ES6 ---> ES5
        npm run build
    
    • Test
        npm run test
    

    Install

    npm i sbiger-jsutil

    DownloadsWeekly Downloads

    7

    Version

    1.3.32

    License

    MIT

    Last publish

    Collaborators

    • avatar