Welcome to mirror list, hosted at ThFree Co, Russian Federation.

run-id.js « utils « lib - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b7e7cf797da3c3f0a0fdf22c8c2a7d1417a6b0de (plain)
1
2
3
module.exports = (d = new Date()) => {
  return d.toISOString().replace(/[.:]/g, '_')
}