North Carolina libraries have gotten millions from the institute in recent years to pay for programs across the state.