mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Format better
This commit is contained in:
@@ -41,8 +41,8 @@ module.exports = class NPMCommand extends Command {
|
||||
.addField('❯ Version', body['dist-tags'].latest, true)
|
||||
.addField('❯ License', body.license || 'None', true)
|
||||
.addField('❯ Author', body.author ? body.author.name : '???', true)
|
||||
.addField('❯ Creation Date', moment.utc(body.time.created).format('MMM Do, YYYY [at] hh:mm:ss A'), true)
|
||||
.addField('❯ Modification Date', moment.utc(body.time.modified).format('MMM Do, YYYY [at] hh:mm:ss A'), true)
|
||||
.addField('❯ Creation Date', moment.utc(body.time.created).format('MM/DD/YYYY @ hh:mm:ss A'), true)
|
||||
.addField('❯ Modification Date', moment.utc(body.time.modified).format('MM/DD/YYYY @ hh:mm:ss A'), true)
|
||||
.addField('❯ Main File', version.main || 'index.js', true)
|
||||
.addField('❯ Dependencies', dependencies && dependencies.length ? dependencies.join(', ') : 'None')
|
||||
.addField('❯ Maintainers', maintainers.join(', '));
|
||||
|
||||
Reference in New Issue
Block a user