NPN inverter alternative that takes up less space on the board
If you are trying to translate a signal from 3.3 or 5V to 1.8V there are better ways. For example, for (up to) 3.6V to 1.8V, single channel, you could use a 74AUP1T34.  About 1mm x 1mm in the smallest package.