Context: Goodfellas (stylized as GoodFellas) is a 1990 American crime film directed by Martin Scorsese. It is an adaptation of the 1986 non-fiction book Wiseguy by Nicholas Pileggi, who co-wrote the screenplay with Scorsese. The film narrates the rise and fall of mob associate Henry Hill and his friends and family over a period from 1955 to 1980.\n\nQuestion: what is the movie goodfellas based off of?
Steam of consciousness below:

User
To answer this question, we should know that: It is an adaptation of the 1986 non-fiction book Wiseguy by Nicholas Pileggi, who co-wrote the screenplay with Scorsese.
So, the answer is the 1986 non-fiction book Wiseguy by Nicholas Pileggi.
Assistant