Saturday, November 28, 2020

Node JS the node prompt to check the availability of a package

 alfred@alfred-laptop:~$ node

> require('wrench')

{ rmdirSyncRecursive: [Function],

  copyDirSyncRecursive: [Function],

  chmodSyncRecursive: [Function] }

>


Just above is good enough



References:

https://stackoverflow.com/questions/5594032/npm-module-installed-but-not-available

No comments:

Post a Comment