Police are investigating what is believed to be a petrol-bomb attack in Melbourne's northern suburbs.

A police spokeswoman said several "explosive devices" were thrown at a car parked in May Street in Preston about 1.50am on Thursday.

The spokeswoman said nobody was in car, which received "moderate damage".

"There were no injuries," she said.

The Metropolitan Fire Brigade extinguished the blaze.