Could you provide an example for node-pg-types with the "import" statement and not "require" so that type translators get registered for node-postgres?
As it turns out it can be done as (from github):
import { builtins, getTypeParser } from 'pg-types'