Skip to content

IonicaBizauKitchen/days

 
 

Repository files navigation

days NPM version NPM monthly downloads NPM total downloads

Days of the week.

Install

Install with npm:

$ npm install --save days

Usage

var days = require('days');

console.log(days);
//=> ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']

console.log(days.abbr)
//=> ['Sun', 'Mon', 'Tue', 'Wed', 'Thur', 'Fri', 'Sat']

console.log(days.short)
//=> ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']

Multi-language support

  • English
  • French

Usage

var days = require('days');

console.log(days.en);
//=> ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']

console.log(days.fr);
//=> ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi']

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Contributors

Commits Contributor
11 jonschlinkert
2 Sebastien-Meiffren
1 goloroden

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

$ npm install -g verb verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2016, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.0, on November 13, 2016.

Packages

No packages published

Languages

  • JavaScript 100.0%