1.2.2 • Published 3 years ago

js-date-to-string v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Introduction

A small and lightweight library for calculating elapsed time in JavaScript.

Installation

npm i js-date-to-string

Usage

// current date is 2022-07-27 1:30:00
const someDate = new Date('2022-07-27T02:00:00');
const dateToString = jsDateToString(someDate);

console.log(dateToString); // expected result => 30m
1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago