One resource for New Hampshire is at the Internet Archive. This site has many old books and you can play around with it to see what's what. For genealogy purposes, the town histories are key. To search a town history just type in "history" and the town name in the search box. You may also want to type out the state name to narrow the search. Below is a list of histories which exist (there are more) which I have found there. Many are large PDF files which I could have had here but I would have had to break them up and I thought it better for you to go to the site instead. I have listed the author and publication year.
John F Norton & Joel Whittemore
Daniel B Cutter
John B Hill