background preloader

Utilities

Facebook Twitter

Moment.js Documentation. Moment(String, String); moment(String, String, String); moment(String, String, Boolean); moment(String, String, String, Boolean); If you know the format of an input string, you can use that to parse a moment. moment("12-25-1995", "MM-DD-YYYY"); The parser ignores non-alphanumeric characters, so both of the following will return the same thing. moment("12-25-1995", "MM-DD-YYYY"); moment("12\25\1995", "MM-DD-YYYY"); The parsing tokens are similar to the formatting tokens used in moment#format.

Year, month, and day tokens Week year, week, and weekday tokens For these, the lowercase tokens use the locale aware week start days, and the uppercase tokens use the ISO week date start days. Hour, minute, second, millisecond, and offset tokens Locale aware date and time formats are also available using LT LTS L LL LLL LLLL. Z ZZ were added in version 1.2.0. S SS SSS were added in version 1.6.0. X was added in version 2.0.0. moment('2012 juillet', 'YYYY MMM', 'fr'); moment('2012 July', 'YYYY MMM', 'en');

Andris9/Nodemailer. Broofa/node-uuid. Underscore.js. Kue. Kue is a feature rich priority job queue for node.js backed by redis. A key feature of Kue is its clean user-interface for viewing and managing queued, active, failed, and completed jobs. At any point in the job's life-time you can view verbose details, including the job's arbitrary data, creation, update, failure, and completion times. Jobs may incrementally update their progress, providing vital feedback for long-running tasks. Job-specific logging allows you to see how your job's are progressing, or any hiccups they may encounter. With Kue you can schedule jobs to run at any time in the future, a simple yet powerful feature, showing you in real-time when the job will be scheduled. With the UI's action panel you can filter jobs by type and alter sorting at any time. Wdavidw/node-csv-parser. Pgte/konphyg.