JSPM

Found 43 results for __dirname

usher-xdg

Suggest paths for where to save what, trying to follow OS-specific conventions.

  • v0.0.4
  • 13.19
  • Published

es-dirmodule

convert __dirname from CommonJS into ESModule System

    • v1.0.0
    • 13.06
    • Published

    babel-plugin-paths

    Babel plugin that returns an object containing paths like __dirname and __filename as static values

      • v1.0.0
      • 11.34
      • Published

      dirname-for-module

      The most used and necessary variable for projects in node js

        • v1.0.6
        • 9.58
        • Published

        als-module-info

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

          • v0.1.1
          • 9.56
          • Published

          esmeta

          Handy function to handle import.meta

          • v0.1.0
          • 7.30
          • Published

          lazy-dir

          Lazy define current directory

          • v1.0.1
          • 6.46
          • Published

          es2015-dirname

          A module for using the __dirname with the "module" type for node

            • v1.1.2
            • 6.39
            • Published

            esm-pathnames

            You can use __dirname and __filename when using ESM

            • v1.0.15
            • 6.39
            • Published

            emeta

            get import.meta.url for commonJS

            • v1.0.0
            • 4.84
            • Published

            es6-dirname-fix

            Packet to provide a kind of desicion because of __dirname and __filename are deprecated within es6 modules

              • v1.0.1
              • 2.88
              • Published

              esm-file-dir

              __dirname and __filename in ES Modules without the need for imports

              • v1.1.0
              • 2.69
              • Published

              iesmo

              A fast ESM tools

              • v0.0.2
              • 2.69
              • Published

              esmdir

              Fast ESModules __dirname alternative

              • v1.0.0
              • 2.69
              • Published

              esm-dirname-polyfill

              Polyfill of the `import.meta.dirname` and `import.meta.filename`.

              • v1.0.0
              • 2.69
              • Published

              @simbo/import-meta-path

              A small utility for safely deriving absolute file and directory paths from import.meta in Node.js, with a consistent fallback order.

              • v1.0.0
              • 0.00
              • Published

              esm-consts

              work with esm __filepath and __dirname pathing constants in imports as in commonjs nodejs environment

              • v1.0.0
              • 0.00
              • Published

              require-from-es

              This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.

              • v1.0.3
              • 0.00
              • Published

              gjs-require

              A require like function for GJS

              • v0.3.0
              • 0.00
              • Published