There’s no reason for a comprehensive record of U.S. laws and treaties — even those that have expired or been repealed — not to be published online for the public.
It seems likely that most of the current and past laws included in the Statutes at Large can be found somewhere in an electronic format, so this is unnecessary.