aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/humanize-ms
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/humanize-ms')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/humanize-ms/History.md25
-rw-r--r--sandbox/testAppNevena/Front/node_modules/humanize-ms/LICENSE17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/humanize-ms/README.md40
-rw-r--r--sandbox/testAppNevena/Front/node_modules/humanize-ms/index.js24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/humanize-ms/package.json37
5 files changed, 143 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/humanize-ms/History.md b/sandbox/testAppNevena/Front/node_modules/humanize-ms/History.md
new file mode 100644
index 00000000..b1595870
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/humanize-ms/History.md
@@ -0,0 +1,25 @@
+
+1.2.1 / 2017-05-19
+==================
+
+ * fix: package.json to reduce vulnerabilities (#3)
+
+1.2.0 / 2016-05-21
+==================
+
+ * feat: warn with stack
+
+1.1.0 / 2016-04-04
+==================
+
+ * deps: upgrade ms to 0.7.0
+
+1.0.1 / 2014-12-31
+==================
+
+ * feat(index.js): warn when result is undefined
+
+1.0.0 / 2014-08-14
+==================
+
+ * init
diff --git a/sandbox/testAppNevena/Front/node_modules/humanize-ms/LICENSE b/sandbox/testAppNevena/Front/node_modules/humanize-ms/LICENSE
new file mode 100644
index 00000000..89de3547
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/humanize-ms/LICENSE
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/sandbox/testAppNevena/Front/node_modules/humanize-ms/README.md b/sandbox/testAppNevena/Front/node_modules/humanize-ms/README.md
new file mode 100644
index 00000000..20a2ca35
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/humanize-ms/README.md
@@ -0,0 +1,40 @@
+humanize-ms
+---------------
+
+[![NPM version][npm-image]][npm-url]
+[![build status][travis-image]][travis-url]
+[![Test coverage][coveralls-image]][coveralls-url]
+[![Gittip][gittip-image]][gittip-url]
+[![David deps][david-image]][david-url]
+
+[npm-image]: https://img.shields.io/npm/v/humanize-ms.svg?style=flat
+[npm-url]: https://npmjs.org/package/humanize-ms
+[travis-image]: https://img.shields.io/travis/node-modules/humanize-ms.svg?style=flat
+[travis-url]: https://travis-ci.org/node-modules/humanize-ms
+[coveralls-image]: https://img.shields.io/coveralls/node-modules/humanize-ms.svg?style=flat
+[coveralls-url]: https://coveralls.io/r/node-modules/humanize-ms?branch=master
+[gittip-image]: https://img.shields.io/gittip/dead-horse.svg?style=flat
+[gittip-url]: https://www.gittip.com/dead-horse/
+[david-image]: https://img.shields.io/david/node-modules/humanize-ms.svg?style=flat
+[david-url]: https://david-dm.org/node-modules/humanize-ms
+
+transform humanize time to ms
+
+## Installation
+
+```bash
+$ npm install humanize-ms
+```
+
+## Examples
+
+```js
+var ms = require('humanize-ms');
+
+ms('1s') // 1000
+ms(1000) // 1000
+```
+
+### License
+
+MIT
diff --git a/sandbox/testAppNevena/Front/node_modules/humanize-ms/index.js b/sandbox/testAppNevena/Front/node_modules/humanize-ms/index.js
new file mode 100644
index 00000000..660df81d
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/humanize-ms/index.js
@@ -0,0 +1,24 @@
+/*!
+ * humanize-ms - index.js
+ * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
+ * MIT Licensed
+ */
+
+'use strict';
+
+/**
+ * Module dependencies.
+ */
+
+var util = require('util');
+var ms = require('ms');
+
+module.exports = function (t) {
+ if (typeof t === 'number') return t;
+ var r = ms(t);
+ if (r === undefined) {
+ var err = new Error(util.format('humanize-ms(%j) result undefined', t));
+ console.warn(err.stack);
+ }
+ return r;
+};
diff --git a/sandbox/testAppNevena/Front/node_modules/humanize-ms/package.json b/sandbox/testAppNevena/Front/node_modules/humanize-ms/package.json
new file mode 100644
index 00000000..da4ab7f5
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/humanize-ms/package.json
@@ -0,0 +1,37 @@
+{
+ "name": "humanize-ms",
+ "version": "1.2.1",
+ "description": "transform humanize time to ms",
+ "main": "index.js",
+ "files": [
+ "index.js"
+ ],
+ "scripts": {
+ "test": "make test"
+ },
+ "keywords": [
+ "humanize",
+ "ms"
+ ],
+ "author": {
+ "name": "dead-horse",
+ "email": "dead_horse@qq.com",
+ "url": "http://deadhorse.me"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/node-modules/humanize-ms"
+ },
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.0.0"
+ },
+ "devDependencies": {
+ "autod": "*",
+ "beautify-benchmark": "~0.2.4",
+ "benchmark": "~1.0.0",
+ "istanbul": "*",
+ "mocha": "*",
+ "should": "*"
+ }
+}