@splitsecond/parse

1.0.0 • Public • Published

@splitsecond/parse

Parses a datetime string and returns the parsed string or an empty string if it not parsable.

splitsecond is a simple date manipulation library for Node. This library always returns ISO 8601 datetime stamps in UTC.

Installation

npm i -S @splitsecond/parse

or

yarn add @splitsecond/parse

Usage

parse(datetimestamp: string): string

const parse = require('@splitsecond/parse')

parse('03/26/2020 UTC') // '2020-03-26T00:00:00.000Z'

Readme

Keywords

Package Sidebar

Install

npm i @splitsecond/parse

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.51 kB

Total Files

4

Last publish

Collaborators

  • s14k51