node-require-main-filename_1.0.1-1_all.deb


Advertisement

Description

node-require-main-filename - shim for require.main.filename() that works in as many environments as possible

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename node-require-main-filename_1.0.1-1_all.deb
Package name node-require-main-filename
Package version 1.0.1
Package release 1
Package architecture all
Package type deb
Category universe/web
Homepage https://github.com/yargs/require-main-filename#readme
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 3.12 KB
Installed size 16.00 KB
require.main.filename is great for figuring out the entry point for the
current application. This can be combined with a module like pkg-conf
to, as if by magic, load top-level configuration.
Unfortunately, require.main.filename sometimes fails when an application
is executed with an alternative process manager, e.g., iisnode.
require-main-filename is a shim that addresses this problem.
Node.js is an event-based server-side JavaScript engine.

Alternatives

Package Version Architecture Repository
node-require-main-filename_1.0.1-1_all.deb 1.0.1 all Ubuntu Universe
node-require-main-filename - - -

Requires

Name Value
nodejs -

Download

Type URL
Mirror archive.ubuntu.com
Binary Package node-require-main-filename_1.0.1-1_all.deb
Source Package node-require-main-filename

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install node-require-main-filename deb package:
    # sudo apt-get install node-require-main-filename

Files

Path
/usr/lib/nodejs/require-main-filename/index.js
/usr/lib/nodejs/require-main-filename/package.json
/usr/share/doc/node-require-main-filename/README.md
/usr/share/doc/node-require-main-filename/changelog.Debian.gz
/usr/share/doc/node-require-main-filename/copyright

Changelog

2016-03-29 - Thorsten Alteholz <debian@alteholz.de>
node-require-main-filename (1.0.1-1) unstable; urgency=medium
* Initial release

See Also

Package Description
node-require-relative_0.8.7-2_all.deb Relative require module import for Node.js
node-requirejs-text_2.0.12-2_all.deb RequireJS/AMD loader plugin for text resources
node-requirejs_2.3.6-1_all.deb JavaScript file and module loader - NodeJS
node-requires-port_1.0.0-1_all.deb checks if a protocol requires a certain port number to be added to an URL
node-reserved_0.1.2+20140511-3_all.deb List of JavaScript reserved words (Node.js module)
node-resolve-cwd_2.0.0-2_all.deb Resolve the path of a module from current directory
node-resolve-dir_1.0.1-2_all.deb Resolve a directory
node-resolve-from_4.0.0-1_all.deb Resolve the path of a module from a given path
node-resolve-pkg_0.2.0-1_all.deb Resolve the path of a package regardless of it having an entry point
node-resolve_1.5.0-1_all.deb Synchronous/Asynchronous require.resolve() algorithm
node-response-time_2.2.0-1_all.deb X-Response-Time header manager for HTTP response - Node.js module
node-restore-cursor_2.0.0-1_all.deb Gracefully restore the CLI cursor on exit
node-resumer_0.0.0-3build2_all.deb through stream that starts paused and resumes on the next tick
node-retape_0.0.3-3_all.deb CommonJS test to tape adapter
node-retry_0.10.1-1_all.deb Retry strategies for failed operations module for Node.js
Advertisement
Advertisement