react time ago in a moment code example Example: react js date ago $ npm install react-time-ago --save