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

datejs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datejs

datejs, wrapped up as an npm package

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

DateJS is not working in 0.4.x - I'm now investigating it.

DateJS

This is a simple NPM wrapper around the excellent datejs client-side library.

It modifies the Date prototype - this technique is looked down upon, but it's a very useful library.

See the datejs site for more information.

Usage

In the shell:

npm install datejs

In your app:

require('datejs');

Notes

NPM package datejs v0.0.1 corresponds to datejs Alpha1. It hasn't changed for three years, so hopefully it won't be too much of a maintenance nightmare.

I've just included all of the non-US locales in lib - I've not written any way to access them yet.

What I'll probably do is create a wrapper which defaults to en-US, but can be called with other locales.

I am not the author of datejs. I'm just maintaining an NPM package of it, as I needed one.

FAQs

Package last updated on 18 Oct 2011

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