Nestable Processes Mutate

npm

Need private packages and team management tools?Check out npm Orgs. »

perpetual

0.0.2 • Public • Published

perpetual

Build Status

Get the day or month name from a JavaScript Date, with no concern for internationalization, localization, or not polluting prototypes.

You should probably just use Moment.js.

Usage

Include the file, which will add getDayName and getMonthName to the Date prototype. Then you can call it like so:

var today = new Date(2014, 4, 19);
 
console.log(today.getDayName());
// -> "Monday"
 
console.log(today.getMonthName());
// -> "May"

install

npm i perpetual

Downloadsweekly downloads

1

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability