New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sbiger-jsutil

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sbiger-jsutil

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

latest
Source
npmnpm
Version
1.3.32
Version published
Maintainers
1
Created
Source

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

Keywords

javscript

FAQs

Package last updated on 26 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts