Socket
Socket
Sign inDemoInstall

parse-instagram-date

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    parse-instagram-date

Parse Instagram timestamp to Date object


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

parse-instagram-date Build Status Depencies status Standard - JavaScript Style Guide

Parse Instagram timestamp to Date object

Install

npm install --save parse-instagram-date

Usage

const parseInstagramDate = require('parse-instagram-date')

const created_time = '1488845935'
const date = parseInstagramDate(created_time) // -> Mon Mar 06 2017 21:18:55 GMT-0300 (BRT)
date.getTime() // -> 1488845935000
date.toJSON() // -> 2017-03-07T00:18:55.000Z

Contributing

PRs are always welcome 🙏

Keywords

FAQs

Last updated on 10 Mar 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc