UNPKG

js-ago

Version:

Simple time ago for Unix timestamps and JavaScript Date objects.

48 lines (47 loc) 1.09 kB
{ "name": "js-ago", "version": "3.0.1", "description": "Simple time ago for Unix timestamps and JavaScript Date objects.", "main": "dist/index.js", "scripts": { "build": "tsc", "test": "vitest", "lint": "eslint src", "push": "pnpm lint && pnpm test && git push" }, "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/Arvin7/js-ago.git" }, "keywords": [ "relative time ago", "javascript", "time", "ago", "timeago", "timestamp", "unix-timestamp", "timediff", "date" ], "author": "Arvin Ashtari <arvin@windesign.ir>", "license": "MIT", "bugs": { "url": "https://github.com/Arvin7/js-ago/issues" }, "homepage": "https://github.com/Arvin7/js-ago#readme", "devDependencies": { "@types/node": "^22.14.1", "@vitest/coverage-v8": "^3.1.1", "eslint": "^9.24.0", "eslint-config-arvin": "^2.3.6", "prettier": "^3.5.3", "typescript": "^5.8.3", "vitest": "^3.1.1" }, "packageManager": "pnpm@10.8.1" }