JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14556716
  • Score
    100M100P100Q285727F
  • License MIT

Postgres date column parser

Package Exports

  • postgres-date

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postgres-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

postgres-date Build Status

Postgres date column parser

Install

$ npm install --save postgres-date

Usage

var parse = require('postgres-date')
parse('2011-01-23 22:15:51Z')
// => 2011-01-23T22:15:51.000Z

API

parse(isoDate) -> date

isoDate

Required
Type: string

A date string from Postgres.

License

MIT © Ben Drucker