{"_id":"timestring","_rev":"37-e1a3bf36b949fe3fee2a40f92eb6b635","name":"timestring","description":"Parse a human readable time string into a time based value","dist-tags":{"latest":"7.0.0"},"versions":{"1.0.0":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","keywords":["util","functional","time"],"author":{"name":"Mike Barrett"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"main":"timestring.js","version":"1.0.0","_id":"timestring@1.0.0","dist":{"shasum":"c1839aaea7927f468df00315c282bddf85e8a331","tarball":"https://registry.npmjs.org/timestring/-/timestring-1.0.0.tgz","integrity":"sha512-pdc9wJS65bCuQagYQ41dfooGt/WsmT9+sg4r1JN6msZGG/+u7OSQ1hL81Qf1ccK27yqm1TZQMEaoyHPDBaAX4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxwL9LUKHb1Wzml7WNvKGNAxFF5DJIWfKa6Vea1oCuFgIhAIKFcDKztjfTU1qpWaGjlXVsFeP9NuFrjsJ6LG2DjoXg"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"directories":{}},"1.0.1":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","keywords":["util","functional","time"],"author":{"name":"Mike Barrett","email":"mike182uk@gmail.com"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"main":"timestring.js","version":"1.0.1","_id":"timestring@1.0.1","dist":{"shasum":"cd6e517bd890c2adfb650b7981915af78c2bc522","tarball":"https://registry.npmjs.org/timestring/-/timestring-1.0.1.tgz","integrity":"sha512-/sL48VoISlCgu4tMcwyOGuagjhYcJGmGaOH1oFnjkfBhRcc7P9wbGRNDJLBKCI28XERK++dc5Wm18SET8rA2KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqUN9G+fg5JLJZYiuon0+hBemLSkjNb/2sZfhv48+h2AiEAsoqXBjlqpulKI6lWl7CvDkCjs8OP/hdbuuDViXVyaUA="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"directories":{}},"1.0.2":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","keywords":["util","functional","time"],"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"main":"timestring.js","version":"1.0.2","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"_id":"timestring@1.0.2","dist":{"shasum":"95c5994e24e5eeb07bea95d4425e0a7a9b721410","tarball":"https://registry.npmjs.org/timestring/-/timestring-1.0.2.tgz","integrity":"sha512-DRcmtPfw6Wz+Zvq8TvV/T/MMjdd01us5s63or+H1lOoBusYyWM3AW2+Wx4zlOnNcAYv6rcwJWbeK7gTWMxRpng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDiGEe2MxGUtlhFPH0jb6EUXpbHa3xrfU3/3OMSauJzHAiEA9Z9GWwgSXDhmOMiCaReKBNMkLfBBG6kpuXgJtNpdX80="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"directories":{}},"1.1.0":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"main":"timestring.js","version":"1.1.0","devDependencies":{"chai":"^1.9.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-contrib-uglify":"^0.5.0","grunt-mocha-test":"^0.11.0","load-grunt-tasks":"^0.6.0","mocha":"^1.20.1","time-grunt":"^0.4.0"},"gitHead":"657c62b0711cd488b144b3f6e799224f35435986","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"_id":"timestring@1.1.0","scripts":{},"_shasum":"b92f0fe8b727d281dda0afe5936a5daeb57ef7ba","_from":".","_npmVersion":"1.5.0-alpha-2","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"dist":{"shasum":"b92f0fe8b727d281dda0afe5936a5daeb57ef7ba","tarball":"https://registry.npmjs.org/timestring/-/timestring-1.1.0.tgz","integrity":"sha512-zxwet5Qmvw1t4uiIfZVsInDRE01Z3dYMlxcN2hExw71228X6qx7jO0Ozid6iJp/fds8ixD5cXY+ofotHIo9wBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2e1DjjT4mDj3IvNjGGG8adZM/Q7CzcE4cP+UCadihnQIgEqunDaj3i41xFu7adYiG2xwBg3IH6MXQaVi+fLO85bc="}]},"directories":{}},"1.1.1":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"main":"dist/lib/timestring.js","version":"1.1.1","devDependencies":{"browserify":"^10.0.0","chai":"^2.3.0","coveralls":"^2.11.2","del":"^1.1.1","gulp":"^3.8.11","gulp-babel":"^5.1.0","gulp-concat":"^2.5.2","gulp-jscs":"^1.6.0","gulp-jshint":"^1.10.0","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-rename":"^1.2.2","gulp-sourcemaps":"^1.5.2","gulp-uglify":"^1.2.0","istanbul":"^0.3.13","jshint-stylish":"^1.0.1","mocha":"^2.2.4","mocha-lcov-reporter":"0.0.2","run-sequence":"^1.1.0","vinyl-source-stream":"^1.1.0"},"gitHead":"68b7181a1f84c313fc6308a91cd3d14727555103","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"_id":"timestring@1.1.1","scripts":{},"_shasum":"2302588aabfdf26bb82acaa54edee6e5824c104e","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"dist":{"shasum":"2302588aabfdf26bb82acaa54edee6e5824c104e","tarball":"https://registry.npmjs.org/timestring/-/timestring-1.1.1.tgz","integrity":"sha512-5p+JK/2PUswwkeyKouyY48cH/1y6BJ6UMrNLczl28GpkF60zFCTM4QriK808z7uwZtnZPAIOa3oUTN6Jud+FOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo5NnzFPzOghGjSBDWBBcoxPambvQqi/oz/JWBD6z1KQIgLzk3kELIHkFSFLN6Mg4+PkZ6pMWBtX23qkOpjxRRKKo="}]},"directories":{}},"2.0.0":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"scripts":{"sa":"jshint index.js && jscs index.js","test":"mocha test.js"},"main":"index.js","version":"2.0.0","devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.1.0","coveralls":"^2.11.2","istanbul":"^0.4.1","jscs":"^2.8.0","jshint":"^2.9.1","mocha":"^2.2.4","mocha-lcov-reporter":"1.0.0"},"gitHead":"9710efbcef0585a0ce24f35f7a672d7f1a551caa","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"_id":"timestring@2.0.0","_shasum":"2daca15929910cf4fd364068b78fe57c57da4d70","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"dist":{"shasum":"2daca15929910cf4fd364068b78fe57c57da4d70","tarball":"https://registry.npmjs.org/timestring/-/timestring-2.0.0.tgz","integrity":"sha512-cZSEx4KWMX6p2u6l87Oh89IQzbTtWEGfdXiNJvecq8j/as9zQ+zxPXUna4l/+EredJjKqpa6nIAhOIAO9klg3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUhTDLbQIUGUpo7wvgXlp4gUwFstzU8TN3LhXMeGRnwAiEAiUF9hYL1wIIh2yGyOd27JFqfzTQRwKuD7+noQ/I+FoY="}]},"directories":{}},"3.0.0":{"name":"timestring","description":"Parse a human readable time string into a time based value","homepage":"https://github.com/mike182uk/timestring","author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"scripts":{"dev":"watch 'clear; npm test -s;' ./ -d","sa":"jshint index.js && jscs index.js","test":"mocha test.js"},"main":"index.js","version":"3.0.0","devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.2.0","coveralls":"^2.11.2","istanbul":"^0.4.1","jscs":"^2.8.0","jshint":"^2.9.1","mocha":"^2.2.4","mocha-lcov-reporter":"1.0.0","watch":"^0.17.1"},"dependencies":{"lodash":"^4.0.0"},"gitHead":"d0240a492a7ba7c20b771e99bf8b93a736ef6d21","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"_id":"timestring@3.0.0","_shasum":"b3e66339c4dab8d4f7bbad8ba83b096f852ae1eb","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"dist":{"shasum":"b3e66339c4dab8d4f7bbad8ba83b096f852ae1eb","tarball":"https://registry.npmjs.org/timestring/-/timestring-3.0.0.tgz","integrity":"sha512-XdE7YH0E7iCPD4QHf1C8/un7ohmF/pnP4O8SzDovNIf7cOpGkYUJ3oN4iE32UKzGLDJhnJRUUzm/RsCuxpoORw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICM4CKhFNC4apMnwHaXOUh41YEy2G7+4TlCgtaUEzWt0AiEAuSDbbbKnwEi/lMOkVZNq2J8vNctMMgjMuNbkxFJDi20="}]},"directories":{}},"3.0.1":{"name":"timestring","version":"3.0.1","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","sa":"jshint index.js && jscs index.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","parse","string","date"],"engines":{"node":">=0.10"},"dependencies":{"lodash":"^4.0.0"},"devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.3.0","coveralls":"^2.11.2","cz-conventional-changelog":"^1.1.5","istanbul":"^0.4.1","jscs":"^2.8.0","jshint":"^2.9.1","mocha":"^2.2.4","mocha-lcov-reporter":"1.2.0","watch":"^0.17.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"e26fb57df541a4517647023231dc87e4669c6a10","_id":"timestring@3.0.1","_shasum":"6995de3c1a2c9aa4e5a14075f810f351647a5ac5","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"dist":{"shasum":"6995de3c1a2c9aa4e5a14075f810f351647a5ac5","tarball":"https://registry.npmjs.org/timestring/-/timestring-3.0.1.tgz","integrity":"sha512-hyd6k5z/wLIoVPHfW0IMbujFw2u+XZDHSrOJ5c037KlMHnSG6ZY1VUj5xIz4QKjecAhoos+yH3sFtH9TVGf8Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZCfv6Rf1LDhJ/i6E2GjISX9SpoWJtxSBHxqadmIIAMAiEAltASt3U5rp7kiC9rVDZ+cnKY4arnRA0Y3/IAbROn2BI="}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/timestring-3.0.1.tgz_1457301220568_0.14475920028053224"},"directories":{}},"3.1.0":{"name":"timestring","version":"3.1.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","sa":"jshint index.js && jscs index.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","parse","string","date"],"engines":{"node":">=0.10"},"dependencies":{"lodash":"^4.0.0"},"devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.3.0","coveralls":"^2.11.2","cz-conventional-changelog":"^1.1.5","istanbul":"^0.4.1","jscs":"^3.0.3","jshint":"^2.9.1","mocha":"^2.2.4","mocha-lcov-reporter":"1.2.0","watch":"^0.19.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"49cccf0b51913f677e8d2cfe746c7881bb63c2ec","_id":"timestring@3.1.0","_shasum":"c4f12a5b5707702cbcd053452323b66447872a3b","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.1","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"dist":{"shasum":"c4f12a5b5707702cbcd053452323b66447872a3b","tarball":"https://registry.npmjs.org/timestring/-/timestring-3.1.0.tgz","integrity":"sha512-wcPornWev4CH9EkDb4f+QZLUuQmW3nB2x0kESkx2754lvdgqmYTo148d2IVEgAALCBuKiqc3Nqm7EB48Kho3MQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSmH1RTa5Yc8RJobrv4cG3q6SExo3sISMfXU3SkWe0OQIhAOfRhmfpS5frl+mCwhYjkz4utdn9hTsno3FfzddkkOSQ"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timestring-3.1.0.tgz_1470040255460_0.6717211303766817"},"directories":{}},"3.2.0":{"name":"timestring","version":"3.2.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","sa":"jshint index.js && jscs index.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","parse","string","date"],"engines":{"node":">=0.10"},"dependencies":{"lodash":"^4.0.0"},"devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.4.0","coveralls":"^2.11.2","cz-conventional-changelog":"^1.1.5","istanbul":"^0.4.1","jscs":"^3.0.3","jshint":"^2.9.1","mocha":"^3.0.0","mocha-lcov-reporter":"1.2.0","watch":"^1.0.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"cfd1292b401851e1829b7e94f36a4fe9d27ddd73","_id":"timestring@3.2.0","_shasum":"ab1927058ac30c2a1b06a9515f19051223453ba5","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.3.1","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"dist":{"shasum":"ab1927058ac30c2a1b06a9515f19051223453ba5","tarball":"https://registry.npmjs.org/timestring/-/timestring-3.2.0.tgz","integrity":"sha512-xwBxVp2w24cAjV+0XzClJepLkMnFAToaGlQuO2sq7nYO/P1nR4plQLASEb4ZwFVsr+wCsKX5YB08OihpQE8PNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6rVwxWQ7WHjpV5J+56jzXyhmH8PmN0VQa1oe5LsctNwIgJDtJM34l3ZAkN5BSHyW/VLgUlNZzy9GGEyT5aangswg="}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timestring-3.2.0.tgz_1479238561234_0.8440775079652667"},"directories":{}},"4.0.0":{"name":"timestring","version":"4.0.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","lint":"standard *.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","date"],"engines":{"node":">=4"},"devDependencies":{"chai":"^3.4.1","codeclimate-test-reporter":"^0.4.0","coveralls":"^2.11.2","istanbul":"^0.4.1","mocha":"^3.0.0","mocha-lcov-reporter":"1.3.0","standard":"^10.0.0","watch":"^1.0.1"},"gitHead":"9ae3e78a4b6a01b0ec9b6bf1cace6d403b25a8cd","_id":"timestring@4.0.0","_shasum":"418b776e8bd56e30084d7837adc8261a1e921bfc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"dist":{"shasum":"418b776e8bd56e30084d7837adc8261a1e921bfc","tarball":"https://registry.npmjs.org/timestring/-/timestring-4.0.0.tgz","integrity":"sha512-qLaNyMb96inymIodFh845gSdgEm3zfMaVn8Xg1Wvi6vs0uqkDfuaflkC/b9rf6XwGQ+TbnMrRQpEZomdAs20Bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZxxlKVa6WwQNr9Yii2lpjYVgMI7uO2WT5m5atq/+cSwIhALQ1Z62aX+e90VjmSXpNy4Wpj6ask+0BqGobKIzZLSjt"}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timestring-4.0.0.tgz_1492871159329_0.526523461798206"},"directories":{}},"5.0.0":{"name":"timestring","version":"5.0.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","lint":"standard *.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","date"],"engines":{"node":">=4"},"devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.5.0","coveralls":"^2.11.2","istanbul":"^0.4.1","mocha":"^3.0.0","mocha-lcov-reporter":"1.3.0","standard":"^10.0.0","watch":"^1.0.1"},"gitHead":"f7366f6dfa62aa8cd91ddf8369d83177ec00ac3d","_id":"timestring@5.0.0","_npmVersion":"5.3.0","_nodeVersion":"6.10.0","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"dist":{"integrity":"sha512-azKsH5XEbh7cQsJHocNRq6SRRi+NU2vri4OkSutYi9vyYaYCAyzb5Gru5EWV1CuuXZzcNcqiHupyFCsBSucPWw==","shasum":"3494b36c5766927a7f67db955457cfe5f6068dd0","tarball":"https://registry.npmjs.org/timestring/-/timestring-5.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBy0JSeH9pqMCy1wDaZJhvtRrazJb1BZCLX8007l7dfeAiEAwlWs0T654CZ/a2BpcoQAXHSZV3MRHp4+ibfSmWGbmzw="}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timestring-5.0.0.tgz_1501018219129_0.3547645746730268"},"directories":{}},"5.0.1":{"name":"timestring","version":"5.0.1","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","lint":"standard *.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","date"],"engines":{"node":">=4"},"devDependencies":{"chai":"^4.0.1","codeclimate-test-reporter":"^0.5.0","coveralls":"^3.0.0","istanbul":"^0.4.1","mocha":"^5.0.0","mocha-lcov-reporter":"1.3.0","standard":"^11.0.0","watch":"^1.0.1"},"gitHead":"9797b474af6e106a63ec26f4b597a56cadfb0aa6","_id":"timestring@5.0.1","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"dist":{"integrity":"sha512-0VfOVpaTYqBMTEpjwcY5mB+72YYjFI44Z5F2q80ZiIyDn5pRJm+rEV1OEM8xfnf5/FdtckcrTERTp9TbrlMMHw==","shasum":"065bd9dda1bcaf7c08ec9a4841569d3bbbb6cf87","tarball":"https://registry.npmjs.org/timestring/-/timestring-5.0.1.tgz","fileCount":5,"unpackedSize":11081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/o72CRA9TVsSAnZWagAA2J8P/AmWkJqgy/ZuneXBKuXz\n/4krlfhquRiJwWxJXu86CEQKtwMZ1v1MBP0WzInDhNZ7Fg6rG6ImV4cKNcBM\niRFJ8FaEhG9D/JSNsUXQKRfu6GazHCeC5PxIM52muNqFdt5A4FcUDv+W/27X\ndYKGzHZCC2erTVRwmISy2qos4hee2mkjB3DdEo5fvBrvLQxml+iu2BmuDNOh\ngwC+nydJy6r5XWzK5y+kjgjMKQN610APuvXqTcA5Ct+HiCfv7w1BcAuAFIDx\n/3LBbKsGE5nDA03PD73dGDa8tzwwMDqbRh76bA7uaIl37PfdT0sr/DQkil2C\nHw1FDwDhITrmDyz6I+blfP7BIKuMlk7aWbiLTmdruzuuLjMpd+QzZI6Q/A3u\n2su26ZG6JgRVFzjX4bXw5ScQRpvouQwDpVEDaw46VqL7uAAX+OYeI2/JNKkW\nJq8rlLFOYfqJjAPW+xANEReJk9hwrD1JRSIn/l8gjAK/n2AGUzhBhvHH4egU\nMwXuqRwm8JrzjALqMwE6x6oQuz0x+SZbO8EOprVhJpL80xut1elCNLhu9xZd\n+qEPvVn7uerZw/molhx0IxzqB49h8LiYX7GcJ+OEoDbFUKsmSZKcqcACyC9u\ngHvod9RrPMg3xrEgDrbImJ2uaZHgPO9HUjOpfV4z6Kqt0g7k+VZUPvQc8A+O\nTG7k\r\n=StpE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIurgUoJEsHJK1ODcxwP9dX5oYhluRhTASxQ9jx39nkAiB318nikSiW6te2Q60Yt/Ak8+vgm6M18K10B6BJlBoh6g=="}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timestring_5.0.1_1526632181628_0.05782989642053549"},"_hasShrinkwrap":false},"6.0.0":{"name":"timestring","version":"6.0.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","lint":"standard *.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","date"],"engines":{"node":">=8"},"devDependencies":{"chai":"^4.2.0","coveralls":"^3.0.3","istanbul":"^0.4.5","mocha":"^6.1.4","mocha-lcov-reporter":"1.3.0","standard":"^12.0.1","watch":"^1.0.2"},"gitHead":"db9e0ec17200644e8f1491f3b5d1305c7c457481","_id":"timestring@6.0.0","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-wMctrWD2HZZLuIlchlkE2dfXJh7J2KDI9Dwl+2abPYg0mswQHfOAyQW3jJg1pY5VfttSINZuKcXoB3FGypVklA==","shasum":"b0c7c331981ecf2066ce88bcfb8ee3ae32e7a0f6","tarball":"https://registry.npmjs.org/timestring/-/timestring-6.0.0.tgz","fileCount":5,"unpackedSize":11314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczejkCRA9TVsSAnZWagAAgl0P/Ri/Vg8WNEjtftCIIKXb\n3pXo+p1+yy+1v6VkKj1ANJFjpV8UV2R7TsIm8lo0yR4m0YMLbP83b5/c+bXV\nHn+eizLTKhhTIPgjNgV7Y50yIwVXOJ5VP6cOtV2cB8lp4Zf5DRvhriNVacag\nT9JEQr1E1eFXBOplOnplvr6hyKLEk4Oj0K5Tz1ty3F2f1ve2pchZRsI7LUf+\nmldWPeVx/s4Llvp/1PbOckWs5aFI/J/xEHOrg/G6bxo6/DD+Q0WmQkwpbtTy\njMdh/X1HdYv8Hn2X2qRSkSFVC2XHe5gp8RKDx+BpY8e9z6ePEwIFo2ZBnCIJ\nN3hefXK/bfaHSk0HZ+YwzcZhsnG5i1VOlz9R9Zw0Yv4PJhNf13OtPOCFUaAa\nju7P3xv5LdvfXFlI2nCBDtA/UnOgPJoVXsCxZdy+KlNMGMtk/PUNHAT+MGqR\n0lxWH6CMrBWV0zCrMYBE3gb+lffZE0lIRQHJTEkpaEmzDbmCm5t6WhpwTlxC\nPSxebQhl7/0yhyrZA3cPFKRZYtVY/aJ/7v27anMwyYYktLTbTeUBPioG6Rfz\nvCedABUyBj/ijHD8CyyBPj9LnuhGn7kI6NKCrMSRu1jxPjKHJxR1hrvpP4ij\n4LRL+82PLKHtR8LsLdqSss9KQfBqTYzdcc0Ja0mgkgHdSRntr08hgnUwrYu1\nBE6P\r\n=vUOw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJQFqUrTyd5JInFL0qQTfeunrksXRy2+tkWm0FDnqcOAiEAtbZXexLJKY/cHOC5Tlf8esx0NoHybKb1x4jC5ygRiRo="}]},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timestring_6.0.0_1556998372148_0.9334279838612716"},"_hasShrinkwrap":false},"7.0.0":{"name":"timestring","version":"7.0.0","description":"Parse a human readable time string into a time based value","main":"index.js","scripts":{"cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -x test.js test.js","dev":"watch 'clear; npm test -s;' ./ -d","lint":"standard *.js","test":"mocha test.js"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"keywords":["time","timestring","duration","date"],"engines":{"node":">=12"},"devDependencies":{"chai":"^4.3.7","istanbul":"^0.4.5","mocha":"^10.2.0","mocha-lcov-reporter":"1.3.0","standard":"^17.0.0","watch":"^1.0.2"},"gitHead":"0bf7a9d1684e013bff89b3b3efadd1ea416dd5f8","_id":"timestring@7.0.0","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-U7ttxEdKWqHYJ96OGoJJR5gU8Nwkl3tlY0n7Jr4vcpLD2RkVZLE1Ph9k8ZRrZ7LYX9QCtd3M9OUaR9P8Z37QNg==","shasum":"4099b589387c63fbd1ae76b1e7b20ded836af4b2","tarball":"https://registry.npmjs.org/timestring/-/timestring-7.0.0.tgz","fileCount":5,"unpackedSize":11863,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7w6YQe+7WfD12Rd7Ct9oy/YQUUHfyj/9MW13Ub3zQ9AiEArzTWRguPLsu+4ofIoPqbGGC+ANtaE36jCIf3vOjCcVY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSuP7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu2g//bWKs2shpnMnijTaZ2gxPUJVgJX+ZAw7F1ZM60rooofjaz5gx\r\nwo/y8z6vOKGbZ21klvvSVmZOGg1xOE2qX9UbchGxDL67KjNyvhqnOCoFjobV\r\nqECDSjq9JsVAYfongCWH4hG72astF1vbCrDkdd5Tg+VvgpGBpCaOn2cmsWWK\r\n7DCqAneRjab4MS5DYTMqoVcrAVv2ClgcWTKL8RHCk/jzpFyu1//tj/SBRa2E\r\nsaFx0FFICxpeKAdzFSmEkP6HkU0U6rkCOnEBNucrvOxuWqkid7f0G+g3aAdG\r\nT155e/iFDmkYWQIJnmOBDdpCiHiYrJR0qmtYU1rP7GpSFEK8wZ7743ittrrD\r\nKxKxixhLItxwgct33Mh1AVnb/JpZun2JxLqrSEwvl0s5HP2T6ldxWz9q4F4r\r\nqwbHk18OD/EJQNN1PYhkxlZrTT4z1fVxQrGRp/aA77JqQ53JYQy8rvTy8lK8\r\nCm4Dy3hPRU4REgVkhpNk6csk5OAOOq2bi6NNbwsC/b4qcQEXVLoipmW1/y83\r\nboAkjbTaszSudTmF5oMXRsQTqv8Sc5CcAuSkXZzI55Gn+sio92OK4KPiAPSz\r\nBeEKw531wTH9hVXdayvlV/2FApncVAA3PBqGb49PpAFHDkVbw4Ef7j41secA\r\n4Ilp8tHOVoteX0sx21vw+BI1x1qWwSjsNeE=\r\n=vNNb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mike182uk","email":"mike182uk@gmail.com"},"directories":{},"maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timestring_7.0.0_1682629626979_0.7058714839832754"},"_hasShrinkwrap":false}},"readme":"# timestring\n\n[![Version](https://img.shields.io/npm/v/timestring.svg?style=flat-square)](https://www.npmjs.com/package/timestring)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/mike182uk/timestring/ci.yml?branch=main&style=flat-square)](https://github.com/mike182uk/timestring/actions/workflows/ci.yml?query=workflow%3ACI)\n[![Coveralls](https://img.shields.io/coveralls/mike182uk/timestring/main.svg?style=flat-square)](https://coveralls.io/r/mike182uk/timestring)\n[![npm](https://img.shields.io/npm/dm/timestring.svg?style=flat-square)](https://www.npmjs.com/package/timestring)\n[![License](https://img.shields.io/github/license/mike182uk/timestring.svg?style=flat-square)](https://www.npmjs.com/package/timestring)\n\nParse a human readable time string into a time based value.\n\n## Installation\n\n```bash\nnpm install --save timestring\n```\n\n## Usage\n\n### Overview\n\n```js\nconst timestring = require('timestring')\n\nlet str = '1h 15m'\nlet time = timestring(str)\n\nconsole.log(time) // will log 4500\n```\n\n**By default the returned time value from `timestring` will be in seconds.**\n\nThe time string can contain as many time groups as needed:\n\n```js\nconst timestring = require('timestring')\n\nlet str = '1d 3h 25m 18s'\nlet time = timestring(str)\n\nconsole.log(time) // will log 98718\n```\n\nand can be as messy as you like:\n\n```js\nconst timestring = require('timestring')\n\nlet str = '1 d    3HOurS 25              min         1   8s'\nlet time = timestring(str)\n\nconsole.log(time) // will log 98718\n```\n\n### Keywords\n\n`timestring` will parse the following keywords into time values:\n\n1. `ms, milli, millisecond, milliseconds` - will parse to milliseconds\n2. `s, sec, secs, second, seconds` - will parse to seconds\n3. `m, min, mins, minute, minutes` - will parse to minutes\n4. `h, hr, hrs, hour, hours` - will parse to hours\n5. `d, day, days` - will parse to days\n6. `w, week, weeks` - will parse to weeks\n7. `mon, mth, mths, month, months` - will parse to months\n8. `y, yr, yrs, year, years` - will parse to years\n\nKeywords can be used interchangeably:\n\n```js\nconst timestring = require('timestring')\n\nlet str = '1day 15h 20minutes 15s'\nlet time = timestring(str)\n\nconsole.log(time) // will log 141615\n```\n\n### Return Time Value\n\nBy default the return time value will be in seconds. This can be changed by passing one of the following strings as an argument to `timestring`:\n\n1. `ms` - Milliseconds\n2. `s` - Seconds\n3. `m` - Minutes\n4. `h` - Hours\n5. `d` - Days\n6. `w` - Weeks\n7. `mth` - Months\n8. `y` - Years\n\n```js\nconst timestring = require('timestring')\n\nlet str = '22h 16m'\n\nlet hours = timestring(str, 'h')\nlet days = timestring(str, 'd')\nlet weeks = timestring(str, 'w')\n\nconsole.log(hours) // will log 22.266666666666666\nconsole.log(days) // will log 0.9277777777777778\nconsole.log(weeks) // will log 0.13253968253968254\n```\n\n### Optional Configuration\n\nA few assumptions are made by default:\n\n1. There are 24 hours per day\n2. There are 7 days per week\n3. There are 4 weeks per month\n4. There are 12 months per year\n5. There are 365.25 days per year\n\nThese options can be changed by passing an options object as an argument to `timestring`.\n\nThe following options are configurable:\n\n1. `hoursPerDay`\n2. `daysPerWeek`\n3. `weeksPerMonth`\n4. `monthsPerYear`\n5. `daysPerYear`\n\n```js\nconst timestring = require('timestring')\n\nlet str = '1d'\nlet opts = {\n  hoursPerDay: 1\n}\n\nlet time = timestring(str, 'h', opts)\n\nconsole.log(time) // will log 1\n```\n\nIn the example above `hoursPerDay` is being set to `1`. When the time string is being parsed, the return value is being specified as hours. Normally `1d` would parse to `24` hours (as by default there are 24 hours in a day) but because `hoursPerDay` has been set to `1`, `1d` will now only parse to `1` hour.\n\nThis would be useful for specific application needs.\n\n*Example - Employees of my company work 7.5 hours a day, and only work 5 days a week. In my time tracking app, when they type `1d` i want 7.5 hours to be tracked. When they type `1w` i want 5 days to be tracked etc.*\n\n```js\nconst timestring = require('timestring')\n\nlet opts = {\n  hoursPerDay: 7.5,\n  daysPerWeek: 5\n}\n\nlet hoursToday = timestring('1d', 'h', opts)\nlet daysThisWeek = timestring('1w', 'd', opts)\n\nconsole.log(hoursToday) // will log 7.5\nconsole.log(daysThisWeek) // will log 5\n```\n\nIt is important to note that the `daysPerYear` configuration option will be used to convert a month or year to seconds, so if you are using custom configuration options make sure that you adjust this value to suit if you expect to be parsing timestrings containing months or years.\n\n## Notes\n\nIf the string that is passed into `timestring` can not be parsed then an error will be thrown:\n\n```js\nconst timestring = require('timestring')\n\nlet str = 'aaabbbccc'\nlet time = timestring(str) // will throw an error\n```\n\nIf a number is passed into `timestring` it will be treated as a string containing milliseconds:\n\n```js\nconst timestring = require('timestring')\n\nlet time = timestring(3000) // 3s\n```\n","maintainers":[{"name":"mike182uk","email":"mike182uk@gmail.com"}],"time":{"modified":"2023-04-27T21:07:07.339Z","created":"2012-12-24T16:34:07.894Z","1.0.0":"2012-12-24T16:34:10.349Z","1.0.1":"2013-01-19T23:14:18.231Z","1.0.2":"2014-05-27T19:51:04.287Z","1.1.0":"2014-07-18T20:41:22.055Z","1.1.1":"2015-05-05T10:48:37.295Z","2.0.0":"2016-01-15T11:27:51.695Z","3.0.0":"2016-01-15T20:17:36.998Z","3.0.1":"2016-03-06T21:53:43.758Z","3.1.0":"2016-08-01T08:30:57.141Z","3.2.0":"2016-11-15T19:36:03.109Z","4.0.0":"2017-04-22T14:26:01.238Z","5.0.0":"2017-07-25T21:30:20.135Z","5.0.1":"2018-05-18T08:29:41.703Z","6.0.0":"2019-05-04T19:32:52.248Z","7.0.0":"2023-04-27T21:07:07.179Z"},"author":{"name":"Michael David Barrett","email":"mike182uk@gmail.com"},"repository":{"type":"git","url":"git://github.com/mike182uk/timestring.git"},"homepage":"https://github.com/mike182uk/timestring","bugs":{"url":"https://github.com/mike182uk/timestring/issues"},"readmeFilename":"README.md","users":{"mike182uk":true,"jpwilliams":true,"shanewholloway":true,"muhammadghazali":true,"xiechao06":true},"license":"MIT","keywords":["time","timestring","duration","date"]}