Search results
104 packages found
Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.
Alternatives to `__dirname` and `__filename` when using ES modules.
Check if a given string looks like a directory path
convert __dirname from CommonJS into ESModule System
natural-utility is a simple helper tool to get easily your work as a module loader, route middleware, plugin middleware and flash message.
- npm
- global
- module
- dirname
- library
- asyncronus
- syncronus
- package
- parallel
- run parallel
- require
- commonjs
- node_modules
- dependency
- View more
Regular expression to split a filename.
Get the absolute path to the yarn global links directory (globally symlinked modules).
- bin
- binaries
- binary
- conf
- config
- directories
- directory
- dirname
- global
- installed
- links
- module
- modules
- node
- View more
The most used and necessary variable for projects in node js
NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.
It Packs Some JS Helper Functions
- modules
- js-helpers
- helper-functions
- php
- locutus
- vsp
- javascript
- helpers
- utilites
- include
- array_combine
- array_count_values
- array_fill
- array_fill_keys
- View more
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
Read data files and extend the data from each onto an object or objects named using the given string or [propstring].
Convert string to safe filename
Returns consolidated info about a filesystem path without having to call multiple path.* methods.
Create alternatives to '__dirname' and '__filename' for use with ES modules.
Normalize URLs to be valid filesystem paths for archiving web pages and their assets
A micro helper for `import.meta` data
UMD __dirname and __filename browser shim
Babel plugin that rewrites __dirname and __filename to static values