Today's npm package: is-directory
Today's npm package is is-directory
This package will help you check if the supplied path is a directory or not. It will return true if the file path exists on the file system and its directory.
const fs = require('fs');
const isDirectory = require...
blog.pankaj.pro1 min read
Catalin Pit
Can't we do that with the
fsmodule in Node.js already? 🤔