Skip to content
Sections
>> Trisquel >> Packages >> nabia >> javascript >> node-resolve-cwd
nabia  ] [  aramo  ]
[ Source: node-resolve-cwd  ]

Package: node-resolve-cwd (2.0.0-2)

Resolve the path of a module from current directory

This module can be used to determine the path of a module starting from the current working directory.

For an input of moduleId to resolveCwd(moduleId), it gives an error when the module can't be found, which is similar to how require() works.

If moduleId is called as resolveCwd.silent(moduleId) then it returns null instead of giving an error when the module can't be found.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to node-resolve-cwd

  • depends
  • recommends
  • suggests
  • dep: node-resolve-from (>= 3.0.0)
    Resolve the path of a module from a given path
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    also a virtual package provided by node-pegjs

Download node-resolve-cwd

Download for all available architectures
Architecture Package Size Installed Size Files
all 3.5 kB16 kB [list of files]