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.

published 1.0.0 7 years ago
M
Q
P

Alternatives to `__dirname` and `__filename` when using ES modules.

published 1.1.1 2 years ago
M
Q
P

Check if a given string looks like a directory path

published 2.0.0 6 years ago
M
Q
P

convert __dirname from CommonJS into ESModule System

published 1.0.0 a year ago
M
Q
P

natural-utility is a simple helper tool to get easily your work as a module loader, route middleware, plugin middleware and flash message.

published 1.1.1-beta.1 4 years ago
M
Q
P

Regular expression to split a filename.

published 1.0.0 9 years ago
M
Q
P

Get the absolute path to the yarn global links directory (globally symlinked modules).

published 1.0.1 6 years ago
M
Q
P

The most used and necessary variable for projects in node js

published 1.0.6 2 years ago
M
Q
P

NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.

published 1.0.5 4 years ago
M
Q
P
M
Q
P

provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables

published 1.0.1 a year ago
M
Q
P

__dirname and __filename in ESM

published 1.0.7 2 years ago
M
Q
P

Read data files and extend the data from each onto an object or objects named using the given string or [propstring].

published 0.1.0 10 years ago
M
Q
P

Convert string to safe filename

published 1.0.11 2 years ago
M
Q
P

Returns consolidated info about a filesystem path without having to call multiple path.* methods.

published 0.1.0 9 years ago
M
Q
P

Create alternatives to '__dirname' and '__filename' for use with ES modules.

published 1.0.0 2 years ago
M
Q
P

Normalize URLs to be valid filesystem paths for archiving web pages and their assets

published 1.4.0 3 years ago
M
Q
P

A micro helper for `import.meta` data

published 0.2.4 4 years ago
M
Q
P

UMD __dirname and __filename browser shim

published 1.0.0 8 years ago
M
Q
P

Babel plugin that rewrites __dirname and __filename to static values

published 1.1.0 8 years ago
M
Q
P