Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
root.js15 linesDownload Raw Back to commands
1const { output } = require('proc-log')
2const BaseCommand = require('../base-cmd.js')
3
4class Root extends BaseCommand {
5  static description = 'Display npm root'
6  static name = 'root'
7  static params = ['global']
8
9  async exec () {
10    output.standard(this.npm.dir)
11  }
12}
13
14module.exports = Root
15 
codekingpro/portable-devtools · Team Ai