Generic SPI node for Raspberry Pi

Hi All,
I'm struggeling to find a good SPI library for Raspberry Pi. Searching around I only find librarty specific for some devices or HATs. Does anybody know if this library exists? Unfortunately I've not been successful in finding a command line tool either, so that I can try to create a subflow using the exec node.

Regards
F.