The world’s largest library survives in the digital age