jsink

0.4.3 • Public • Published

jsink npm version

A library with useful Javascript extensions.

Note: this library is not ready to depend on.

Installation

Use with npm:

npm install jsink --save

Reference

Objects

deepMerge(a: Any, b: Any)

deeply merges a and b.

Date

areSameDate(a: Date, b: Date)

Returns true if a and brepresents the same date (same day of same month of same year).

isDate(a: Any)

Returns true if a is a Javascript Date object.

monthName(date: Date, [locale: String])

Returns a String that represents the month name with the given locale. Default locale is english. Locale supported values are "en", "it".

utils

uuid()

Generates a uuid.

Package Sidebar

Install

npm i jsink

Weekly Downloads

2

Version

0.4.3

License

SEE LICENSE IN <LICENSE>

Last publish

Collaborators

  • federicobadini
  • macs91