1.0.4 • Published 4 years ago

@tuft/json-stringify-date v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago