Skip to content

wasabi-io/wasabi-common

Repository files navigation

wasabi-common

npm package Build Status codecov

Motivation

Provides some common operations.

Common Classes

  • collection ..more

  • lang ..more

    • Binder : Provides to bind all methods of the instance when construct.
    • Type: Provides define new Type by some default methods. It is useful when cloning or merging. (isEmpty, isPrimitive, isJsonType, isNativeType, getClone, getName, getSize, equals)
  • types ..more

    • Arrays: Provides some operation on Array type
    • Chars: Provides some operation for chars.
    • Functions: Provides some operation on Function type.
    • Maps: Provides some operation on Map type.
    • Objects: Provides some operation on Object type
    • Strings: Provides some operation on String type
  • util ..more

    • Validations: It used for validations.
    • Assertions: It used for assertions.
    • Generator: Provides to generate some used values like guid.
    • Properties: Provides to hold properties (key and value or keys and value) and provides some operation on property like add, get, merge.
    • Functions: Provides some useful methods (getType, has, requireEs6)
    • Resolver: Provides add module paths to the resolver.
    • Types: Provides some operations on any types and defined some standard types in it. (Number, Boolean, Array, String, Date, RegExp: , Null, Function, Undefined, Object)
  • util/ajax ..more

Usage

npm install wasabi-common --save

Releases

No releases published

Packages

No packages published