UNPKG

@standards/duration

Version:

Human-readable, convenient, friendly durations. Converts durations given as strings to milliseconds or to custom units from milliseconds to weeks.

106 lines (105 loc) 2.37 kB
{ "name": "@standards/duration", "version": "1.1.3", "description": "Human-readable, convenient, friendly durations. Converts durations given as strings to milliseconds or to custom units from milliseconds to weeks.", "author": "Richard King <richrdkng@gmail.com> (www.richrdkng.com)", "license": "ISC", "homepage": "https://github.com/js-standards/duration#readme", "repository": { "type": "git", "url": "https://github.com/js-standards/duration.git" }, "bugs": { "url": "https://github.com/js-standards/duration/issues" }, "main": "index.cjs.js", "module": "index.esm.js", "browser": "index.umd.js", "directories": { "doc": "docs", "test": "tests" }, "engines": { "node": ">=8.0.0" }, "standard": { "envs": [ "jest" ] }, "scripts": { "lint": "standard --verbose | snazzy", "lint:fix": "standard --fix", "test": "jest", "build": "npm run gulp -- build", "gulp": "gulp --gulpfile scripts/index.js" }, "devDependencies": { "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.5", "@nodewell/path": "^1.1.4", "@richrdkng/dmd-plugin-simple-nodejs-project": "1.0.0", "@semantic-release/changelog": "^5.0.1", "@semantic-release/exec": "^5.0.0", "@semantic-release/git": "^9.0.0", "acorn": "^7.1.1", "babel-jest": "^25.4.0", "gulp": "^4.0.2", "gulp-debug": "^4.0.0", "gulp-rename": "^2.0.0", "gulp-tap": "^2.0.0", "jest": "^25.4.0", "jsdoc-to-markdown": "^5.0.3", "mocha": "^7.1.2", "npm-run-all": "^4.1.5", "pkg-dir": "^4.2.0", "rollup": "^2.7.3", "rollup-plugin-banner": "^0.2.1", "rollup-plugin-license": "^2.0.0", "rollup-plugin-terser": "^5.3.0", "snazzy": "^8.0.0", "standard": "^14.3.3" }, "publishConfig": { "access": "public" }, "keywords": [ "duration", "dur", "human", "readable", "usable", "convenient", "friendly", "pretty", "easy", "convert", "various", "time", "weeks", "days", "hours", "minutes", "seconds", "millisecond", "milliseconds", "ms", "unit", "range", "period", "text", "string", "number", "umd", "es", "es6", "esm", "amd", "cjs", "iife", "commonjs", "browser", "standards", "@standards" ] }