node-require-main-filename 2.0.0-2 source package in Ubuntu
Changelog
node-require-main-filename (2.0.0-2) unstable; urgency=medium * Team upload * Bump debhelper compatibility level to 13 * Modernize debian/watch * Fix GitHub tags regex * Use dh-sequence-nodejs * Update standards version to 4.6.0, no changes needed. * Fix filenamemangle * Drop nodejs dependency -- Yadd <email address hidden> Wed, 01 Dec 2021 15:22:05 +0100
Upload details
- Uploaded by:
- Debian Javascript Maintainers
- Uploaded to:
- Sid
- Original maintainer:
- Debian Javascript Maintainers
- Architectures:
- all
- Section:
- javascript
- Urgency:
- Medium Urgency
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
node-require-main-filename_2.0.0-2.dsc | 2.2 KiB | 5c7179fa57ab9cfa843bc190ec798fc6f17884651389cda495ff4e5be1eeda51 |
node-require-main-filename_2.0.0.orig.tar.gz | 2.5 KiB | 75951e91fafbb9d7fb9e3ef706a370610a2325dfa9385aab28369984ed00af33 |
node-require-main-filename_2.0.0-2.debian.tar.xz | 2.8 KiB | 29e46c1635ed487efa1b52b1edd3e853ccf50509457822cd90f1030f062d4e74 |
Available diffs
- diff from 2.0.0-1 to 2.0.0-2 (1.2 KiB)
No changes file available.
Binary packages built by this source
- node-require-main-filename: shim for require.main.filename() that works in as many environments as possible
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.