A small dog was rescued by firefighters from a burning home in Edison.