cs-time-ago

2.1.0 • Public • Published

Coder Sultan

CS Time Ago

This package use to create Time ago feature like Facebook.

Installation

To install this package, first you need Node js. Then you can follow this code

$ npm install cs-time-ago

Usage

Send argument a Time Stamp

import timeAgo from "./csTimeAgo";

console.log(timeAgo(1719768351059));

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cs-time-ago

      Weekly Downloads

      0

      Version

      2.1.0

      License

      ISC

      Unpacked Size

      2.11 kB

      Total Files

      3

      Last publish

      Collaborators

      • codersultan