This library simplifies the usage of shift registers. For instance, it allows to set pins of the shift register just like normal Arduino pins:
sr.set(1, HIGH)
Please find the detailed documentation at https://timodenk.com/blog/shift-register-arduino-library/.
An example sketch can be found in this repository at /examples/example/example.ino.