Here in Mexico libraries have never been a thing, unfortunately. The government recognised this long ago and the present approach is all-digital. Schoolkids with tablets. Free broadband everywhere (10MB/s) for Web access. Free university education. It seems to be paying off.