UNPKG

timesago

Version:

A simple & lightweight js library that make it easy to convert timestamps into human-readable time ago statements (eg. '2 hours ago' or 'in 3 days.')

44 lines (43 loc) 1.04 kB
{ "name": "timesago", "version": "1.0.1", "description": "A simple & lightweight js library that make it easy to convert timestamps into human-readable time ago statements (eg. '2 hours ago' or 'in 3 days.')", "main": "./dist/timesago.js", "types": "./dist/types.d.ts", "license": "MIT", "author": { "name": "Prateek Singh", "email": "devXprite@gmail.com" }, "scripts": { "test": "mocha", "build": "webpack", "dev": "webpack --progress --watch" }, "repository": { "type": "git", "url": "https://github.com/devXprite/timesago.git" }, "homepage": "https://github.com/devXprite/timesago", "engines": { "node": ">=8.0.0" }, "keywords": [ "browser", "time", "date", "timesago", "datetime", "timestamp" ], "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.20.5", "@babel/preset-env": "^7.20.2", "babel-loader": "^9.1.0", "chai": "^4.3.7", "mocha": "^10.2.0", "webpack": "^5.75.0", "webpack-cli": "^5.0.1" } }