Kivach
Cascading donations
Add repoPopularDonorsF.A.Q.
My repos

Footer

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

DiscordTelegramTwitterMediumFacebookYouTubeGitHub

All information about repositories belongs to their owners.

More information about Kivach in the introductory article.

Built on Obyte

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mk-pmb/slashable-import-pmb-js

Account's avatar
mk-pmb/absdir-node
Find the absolute directory path of a filename or a module object. No more excuses for __dirname.
Account's avatar
mk-pmb/nodemjs-node
Run .mjs files from your command line, with all the tweaks from esmod-pmb.

Support the repos that depend on this repository

Top contributors

mk-pmb's profile
mk-pmb
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet
mk-pmb

mk-pmb/slashable-import-pmb-js

Dynamically import modules as resolved from current directory. On failure, retry with some default filenames appended.

JavaScript
0
0
No license

The **slashable‑import‑pmb** package provides a single ESM‑exported helper that creates a “slashableImport” function. This function attempts to dynamically import a module relative to a configurable base directory, and if the import fails (especially when the requested ID ends with a slash) it automatically retries with a set of fallback suffixes and extensions (e.g., `__main__`, the directory name). It’s aimed at developers who need flexible, runtime‑resolved module loading in Node/Esm environments.