short-relative-time
Version:
Converts a time difference to a friendly string. Zero dependencies. TypeScript.
33 lines (32 loc) • 809 B
JSON
{
"name": "short-relative-time",
"version": "1.0.1",
"description": "Converts a time difference to a friendly string. Zero dependencies. TypeScript.",
"main": "lib/relative-time.js",
"types": "lib/relative-time.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dharmax/relative-time.git"
},
"keywords": [
"time",
"date",
"friendly",
"difference",
"elapsed"
],
"author": "Avi Tshuva, dharmax",
"license": "ISC",
"bugs": {
"url": "https://github.com/dharmax/relative-time/issues"
},
"homepage": "https://github.com/dharmax/relative-time#readme",
"devDependencies": {
"typescript": "^3.7.3"
}
}