1.0.7 • Published 2 years ago
dirname-es v1.0.7
dirname-es
Is a library to get the name of the directory and the filename where a file is located.
Usage
import { diname, filename } from 'dirname-es'
const __dirname = diname(import.meta)
const __filename = filename(import.meta)