diff options
author | Yaroslav De La Peña Smirnov <yaros.rus_89@live.com.mx> | 2017-11-29 11:44:34 +0300 |
---|---|---|
committer | Yaroslav De La Peña Smirnov <yaros.rus_89@live.com.mx> | 2017-11-29 11:44:34 +0300 |
commit | 67fdec20726e48ba3a934cb25bb30d47ec4a4f29 (patch) | |
tree | 37fd9f4f0b0c20103e1646fc83021e4765de3680 /node_modules/to-array | |
download | spanish-checkers-67fdec20726e48ba3a934cb25bb30d47ec4a4f29.tar.gz spanish-checkers-67fdec20726e48ba3a934cb25bb30d47ec4a4f29.zip |
Initial commit, version 0.5.3
Diffstat (limited to 'node_modules/to-array')
-rw-r--r-- | node_modules/to-array/.npmignore | 3 | ||||
-rw-r--r-- | node_modules/to-array/LICENCE | 19 | ||||
-rw-r--r-- | node_modules/to-array/README.md | 22 | ||||
-rw-r--r-- | node_modules/to-array/index.js | 13 | ||||
-rw-r--r-- | node_modules/to-array/package.json | 98 |
5 files changed, 155 insertions, 0 deletions
diff --git a/node_modules/to-array/.npmignore b/node_modules/to-array/.npmignore new file mode 100644 index 0000000..062c11e --- /dev/null +++ b/node_modules/to-array/.npmignore @@ -0,0 +1,3 @@ +node_modules +*.log +*.err
\ No newline at end of file diff --git a/node_modules/to-array/LICENCE b/node_modules/to-array/LICENCE new file mode 100644 index 0000000..a23e08a --- /dev/null +++ b/node_modules/to-array/LICENCE @@ -0,0 +1,19 @@ +Copyright (c) 2012 Raynos. + +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.
\ No newline at end of file diff --git a/node_modules/to-array/README.md b/node_modules/to-array/README.md new file mode 100644 index 0000000..0f35286 --- /dev/null +++ b/node_modules/to-array/README.md @@ -0,0 +1,22 @@ +# to-array + +Turn an array like into an array + +## Example + +``` js +var toArray = require("to-array") + , elems = document.links + +var array = toArray(elems) +``` + +## Installation + +`npm install to-array` + +## Contributors + + - Raynos + +## MIT Licenced diff --git a/node_modules/to-array/index.js b/node_modules/to-array/index.js new file mode 100644 index 0000000..6a38a69 --- /dev/null +++ b/node_modules/to-array/index.js @@ -0,0 +1,13 @@ +module.exports = toArray + +function toArray(list, index) { + var array = [] + + index = index || 0 + + for (var i = index || 0; i < list.length; i++) { + array[i - index] = list[i] + } + + return array +} diff --git a/node_modules/to-array/package.json b/node_modules/to-array/package.json new file mode 100644 index 0000000..16897d2 --- /dev/null +++ b/node_modules/to-array/package.json @@ -0,0 +1,98 @@ +{ + "_args": [ + [ + { + "raw": "to-array@0.1.4", + "scope": null, + "escapedName": "to-array", + "name": "to-array", + "rawSpec": "0.1.4", + "spec": "0.1.4", + "type": "version" + }, + "/mnt/e/Yaroslav/Documents/Webs/nodejs/checkers/node_modules/socket.io-client" + ] + ], + "_from": "to-array@0.1.4", + "_id": "to-array@0.1.4", + "_inCache": true, + "_location": "/to-array", + "_npmUser": { + "name": "raynos", + "email": "raynos2@gmail.com" + }, + "_npmVersion": "1.3.1", + "_phantomChildren": {}, + "_requested": { + "raw": "to-array@0.1.4", + "scope": null, + "escapedName": "to-array", + "name": "to-array", + "rawSpec": "0.1.4", + "spec": "0.1.4", + "type": "version" + }, + "_requiredBy": [ + "/socket.io-client" + ], + "_resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "_shasum": "17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890", + "_shrinkwrap": null, + "_spec": "to-array@0.1.4", + "_where": "/mnt/e/Yaroslav/Documents/Webs/nodejs/checkers/node_modules/socket.io-client", + "author": { + "name": "Raynos", + "email": "raynos2@gmail.com" + }, + "bugs": { + "url": "https://github.com/Raynos/to-array/issues", + "email": "raynos2@gmail.com" + }, + "component": { + "scripts": { + "to-array/index.js": "index.js" + } + }, + "contributors": [ + { + "name": "Jake Verbaten" + } + ], + "dependencies": {}, + "description": "Turn an array like into an array", + "devDependencies": { + "tap": "~0.3.1" + }, + "directories": {}, + "dist": { + "shasum": "17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890", + "tarball": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz" + }, + "homepage": "https://github.com/Raynos/to-array", + "keywords": [], + "licenses": [ + { + "type": "MIT", + "url": "http://github.com/Raynos/to-array/raw/master/LICENSE" + } + ], + "main": "index", + "maintainers": [ + { + "name": "raynos", + "email": "raynos2@gmail.com" + } + ], + "name": "to-array", + "optionalDependencies": {}, + "readme": "# to-array\n\nTurn an array like into an array\n\n## Example\n\n``` js\nvar toArray = require(\"to-array\")\n , elems = document.links\n\nvar array = toArray(elems)\n```\n\n## Installation\n\n`npm install to-array`\n\n## Contributors\n\n - Raynos\n\n## MIT Licenced\n", + "readmeFilename": "README.md", + "repository": { + "type": "git", + "url": "git://github.com/Raynos/to-array.git" + }, + "scripts": { + "test": "tap --stderr --tap ./test" + }, + "version": "0.1.4" +} |