Skip to content

Use absolute paths for nodejs import/require statements

License

Notifications You must be signed in to change notification settings

ozgeneral/require-abs-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

require-abs-path

Use absolute paths for nodejs import/require statements

Example use:

abs_path = require('require-abs-path')
some_package = require(abs_path('/full/path/from/package-json'))

About

Use absolute paths for nodejs import/require statements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published