use segmentio/npmjs