This library available as a git submodule so it's easy for me to edit this while I'm working on various main programs.
See phil-lib for the same functionality in an npm
package.
This submodule structure works well with Vite. When I tried creating a similar library without a build tool, I ran into lots of problems.
To import this library into a new project:
cd
into the directory where you want to addlib
as a subdirectory.git submodule add https://github.com/TradeIdeasPhilip/lib
If you clone a main program that uses this library, you might or might not need to type the next line. (It depends on which git client you used to grab the main program.)
git submodule update --init --recursive