Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xdate

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xdate

A Modern JavaScript Date Library

  • 0.8.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

XDate

A Modern JavaScript Date Library (circa 2013)

[!IMPORTANT] This package is no longer actively maintained (blog post). We recommend using temporal-polyfill instead. It is written by the same author and implements the new standard for JavaScript dates.

XDate is a thin wrapper around JavaScript's native Date object and provides enhanced functionality for parsing, formatting, and manipulating dates. It implements the same methods as the native Date, so it should seem very familiar.

Also, it is non-destructive to the DOM, so it can safely be included in third party libraries without fear of side effects.

Installation:

npm install xdate
var XDate = require('xdate')
var d = new XDate()

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc