The first book in which what title character appears is described on its cover as a "thumping good detective-ghost-horror-who dunnit-time travel-romantic-musical-comedy-epic"? This novel was followed up by one sequel and a second sequel which was unfinished at the time of its author's death in 2001.
Dirk Gently