Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 620 Bytes

.verb.md

File metadata and controls

33 lines (21 loc) · 620 Bytes

Usage

var days = require('{%= name %}');

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']