8000 GitHub - vdegenne/es-dirname: Node.js module that returns the current script dirname (esm support)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Node.js module that returns the current script dirname (esm support)

Notifications You must be signed in to change notification settings

vdegenne/es-dirname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-dirname

(Meme update.)

!!! PLEASE, DO NOT USE THIS MODULE ANYMORE IN LTS NODEJS VERSIONS !!!

Instead use import.meta.dirname natively available in ES modules.

Installation

npm i -D es-dirname

Usage

import {__} from 'es-dirname';

console.log(__.dirname);

About

Node.js module that returns the current script dirname (esm support)

Resources

Stars

Watchers

Forks

Releases

No releases published
3C2A

Sponsor this project

 

Packages

No packages published
0