CommonJS utils
add test demo & doc
change endTime