On chrome://settings/searchEngines you can see all the search engines and their search queries listed. In the keyword column, you can also see the associated keyword. This means if you wanted to search in npmjs.com, then type npmjs.com and then a space in the omnibar.
Ofcourse, if you wanted to make it shorter, you can edit the keyword in the same page to say `npm`, then you can search by using npm followed by a space or tab
I've used that in Firebird/Firefox for over ten years. If I remember correctly it's configured by adding a keyword to a bookmark and adding a placeholder within the bookmark URI.