check if a CJS module exports a single thing