Search results

107 packages found

dirname for module (import/export)

published 2.0.1 4 months ago
M
Q
P

const __dirname = useDirname(import.meta.url)

published 1.0.1 2 months ago
M
Q
P

Path Modifier is a package utilizing and simplifying the functionalities of Node's built in path module.

published 1.0.4 17 days ago
M
Q
P

Returns an object with the (non-glob) base path and the actual pattern.

published 0.3.0 9 years ago
M
Q
P

Return a directory name.

published 0.2.1 5 months ago
M
Q
P

A metalsmith plugin that adds file path values to metadata

published 4.0.6 a year ago
M
Q
P

A JavaScript extension package for building strong and modern applications.

published 0.9.53 8 days ago
M
Q
P

Get the name of a project, from package.json, git config, or basename of the current working directory.

published 1.0.0 6 years ago
M
Q
P

Extract the non-magic parent path from a glob string.

published 6.0.6 9 months ago
M
Q
P

Polyfills globals like `__dirname` with modern ESM equivalents like `import.meta.dirname`

published 0.1.0 2 months ago
M
Q
P

local path for mjs

published 1.0.1 3 months ago
M
Q
P

Get callee directory

published 0.1.6 a month ago
M
Q
P

[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.

published 0.1.0 2 years ago
M
Q
P

make ESM a bit more commonJS

published 1.0.1 a year ago
M
Q
P

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

published 1.1.1 2 years ago
M
Q
P

A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.

published 0.1.1 9 months ago
M
Q
P

Recursively read a directory, blazing fast.

published 3.1.0 3 years ago
M
Q
P

Extract the non-magic parent path from a glob string.

published 5.1.2-patch.1 3 years ago
M
Q
P

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 8 years ago
M
Q
P

Returns an array of NPM directory paths based on the user's platform and environment.

published 2.0.0 6 years ago
M
Q
P