npm install expire
Expire is a convenient little utility for abstracting some of the work you might do to afford robust cache strings.
var expire =var express =var app = expressvar fs =var file = fsapp
Converts a string to number of seconds. All of the following are valid strings:
16 years and one day
one hour and 1 minute and twenty seconds
Automatically converts string to number of seconds and decorates the provided object with valid
This module is used internally by Lactate