winston-daily-rotate-file : A transport for winston which logs to a rotating file each day.. You can installing winston-daily-rotate-file npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install winston-daily-rotate-file $ sudo npm install -g winston-daily-rotate-file
If want to update the winston-daily-rotate-file package execute the command as below,
$ sudo npm update winston-daily-rotate-file
Update package globally,
$ npm install -g winston-daily-rotate-file
$ sudo git clone https://github.com/rektide/winston-daily-rotate-file.git
$ sudo npm install -g ./winston-daily-rotate-file
winston-daily-rotate-file@1.7.2 /usr/lib/node_modules/winston-daily-rotate-file
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall winston-daily-rotate-file
| Package Name | winston-daily-rotate-file |
| Version | 1.7.2 |
| Description | A transport for winston which logs to a rotating file each day. |
| Released Date | 2017-09-21T18:34:35.872Z |
| Published by | mattberther |
| How to Learn | https://www.npmjs.com/package/winston-daily-rotate-file/tutorial |