mk-pmb

mk-pmb/absdir-node

Find the absolute directory path of a filename or a module object. No more excuses for __dirname.

JavaScript
0
0
No license
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the repos that depend on mk-pmb/absdir-node

Account's avatar
Desktop toast popups for Ubuntu, with fallback to xmessage.
Account's avatar
Allay expected promise rejections: Resolve with your failure value instead.
Account's avatar
Read a text file entirely and return a promise for an array of text lines.
Account's avatar
Ubborg config generator for murmurd (mumble-server VoIP) with better systemd startup.
Account's avatar
Generate /etc/hosts lines from recipes, in the format used on PmB servers in 2020.
Account's avatar
Dynamically import modules as resolved from current directory. On failure, retry with some default filenames appended.
Account's avatar
Helps make bundles that are collections of all the other bundles in the same directory.
Account's avatar
An example ubborg bundle for an Ubuntu/GRUB/LVM rescue disk.
Account's avatar
Easily connect buffers to a child_process.
Account's avatar
Given an object with methods and a list of method names, return a new object with promisified bound versions of those methods.
Account's avatar
My favorite eslint rules
Account's avatar
Read data/config files in various formats (parsers list is configurable).
Account's avatar
Re-throw unhandled promise rejections in the next turn, so other listeners get a chance to also run.
Account's avatar
Guess an import identifier that might require.resolve() to the same file path but starts with a package name.
Account's avatar
Make an overview table for your favorite MIDI patch set.
Account's avatar
Parse the outer structure of some¹ PDF documents, and offer to parse some of the deeper structures. (¹ see readme for supported styles)
Account's avatar
Yet another JSON derivative, aimed to be easy to use for humans as well as for low-level tools.

Top contributors

mk-pmb's profile
mk-pmb
5 contributions

Recent events

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

No events yet