1.0.4 • Published 5 years ago

@tuft/json-stringify-date v1.0.4

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

json-stringify-date

Node.js CI Coverage Status Known Vulnerabilities

Convert a JavaScript Date object to a JSON string.

Install with npm

npm i @tuft/json-stringify-date

Usage

const stringifyDate = require('@tuft/json-stringify-date');

const date = new Date('January 1, 2020 01:02:03 UTC');

stringifyDate(date);  // "2020-01-01T01:02:03.000Z"
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago