Today, we will explore Winston, a versatile logging library for Node.js. Winston can be used in a number of contexts including in Node web frameworks such as Express, and Node CLI apps. We will also dive into features that make Winston a good fit for IoT applications such as logging timestamped entries to files. Continue reading
I encountered an error and thought I’d post the solution here since it just might happen to you sometime! Here’s the scenario:
I was planning to take the winston npm module out for a spin to try out it’s awesome logging capabilities. I created a directory called
winston to create a project and conduct the test. What would be more logical than that? 🙂
Next, I ran
npm init to create a
package.json file hitting my Enter key as fast as it could go to accept all the defaults for this throwaway test project:
Today we are kicking off our LTM (Learning through Making) series of tutorials to delve into the amazing world of Node.js. We’re going to do some fun projects along the way, but we first need to lay a foundation and get Node.js installed.
What is Node.js?