How to get the creation time of the file asynchronously using Node.js?

Learn how to use the stat() method from the filesystem module to get the creation time of the file asynchronously using Node.js

How to get the creation time of the file synchronously using Node.js?

Learn how to use the statSync() method from the filesystem module to get the creation time of the file synchronously using Node.js

How to get the last modified time of the file asynchronously using Node.js?

Learn how to use the stat() method from the filesystem module to get the last modified time of the file asynchronously using Node.js

How to get the last modified time of the file synchronously using Node.js?

Learn how to use the statSync() method from the filesystem module to get the last modified time of the file synchronously using Node.js

How to get the last accessed time of the file asynchronously using Node.js?

Learn how to use the stat() method from the filesystem module to get the last accessed time of the file asynchronously using Node.js

How to get the last accessed time of the file synchronously using Node.js?

Learn how to use the statSync() method from the filesystem module to get the last accessed time of the file synchronously using Node.js

How to check if a date is today or the current date in JavaScript?

Learn how to use the getDate(), getMonth() and the getYear() from the Date object to check if a date is today or current date in JavaScript

How to change the input tag placeholder text color in CSS?

Learn how to use the ::placeholder pseudo-element to change the input tag placeholder text color in CSS

How to remove a directory synchronously using Node.js?

Learn how to use the rmdirSync() method from the filesystem module to remove a file synchronously using Node.js?

How to remove a directory asynchronously using Node.js?

Learn how to use the rmdir() method from the filesystem module to remove a file asynchronously using Node.js?

How to do object destructuring with types in TypeScript?

Learn how to define types for destructured object properties in TypeScript

How to get the size of the file synchronously using Node.js?

Learn how to use the statSync() method from the filesystem module to get the size of the file synchronously using Node.js

How to get the size of the file asynchronously using Node.js?

Learn how to use the stat() method from the filesystem module to get the size of the file asynchronously using Node.js

How to output the full object or nested objects to the console in Nodejs?

Learn how to use the console.dir() method to output the full object or nested objects to the console in Nodejs

How to show a 'Are you sure to leave?', 'Leave Site?', etc. dialog box in the browser before the user leaves using JavaScript?

Learn how to use the onbeforeunload event to show a 'Are you sure to leave', 'Leave Site?', etc. dialog box in the browser before the user leaves using JavaScript

How to change the ownership of the file synchronously in Node.js?

Learn how to use the chownSync() method from the filesystem module to change the ownership of the file synchronously in Node.js