mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Initial commit
This commit is contained in:
21
node_modules/for-own/LICENSE
generated
vendored
Normal file
21
node_modules/for-own/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, Jon Schlinkert.
|
||||
|
||||
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.
|
52
node_modules/for-own/README.md
generated
vendored
Normal file
52
node_modules/for-own/README.md
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
# for-own [](http://badge.fury.io/js/for-own)
|
||||
|
||||
> Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`.
|
||||
|
||||
## Install
|
||||
#### Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```bash
|
||||
npm i for-own --save
|
||||
```
|
||||
|
||||
## Run tests
|
||||
|
||||
```bash
|
||||
npm test
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var forOwn = require('for-own');
|
||||
|
||||
var obj = {a: 'foo', b: 'bar', c: 'baz'};
|
||||
var values = [];
|
||||
var keys = [];
|
||||
|
||||
forOwn(obj, function (value, key, o) {
|
||||
keys.push(key);
|
||||
values.push(value);
|
||||
});
|
||||
|
||||
console.log(keys);
|
||||
//=> ['a', 'b', 'c'];
|
||||
|
||||
console.log(values);
|
||||
//=> ['foo', 'bar', 'baz'];
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
+ [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014 Jon Schlinkert, contributors.
|
||||
Released under the MIT license
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 20, 2014._
|
19
node_modules/for-own/index.js
generated
vendored
Normal file
19
node_modules/for-own/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* for-own <https://github.com/jonschlinkert/for-own>
|
||||
*
|
||||
* Copyright (c) 2014-2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var forIn = require('for-in');
|
||||
var hasOwn = Object.prototype.hasOwnProperty;
|
||||
|
||||
module.exports = function forOwn(o, fn, thisArg) {
|
||||
forIn(o, function(val, key) {
|
||||
if (hasOwn.call(o, key)) {
|
||||
return fn.call(thisArg, o[key], key, o);
|
||||
}
|
||||
});
|
||||
};
|
120
node_modules/for-own/package.json
generated
vendored
Normal file
120
node_modules/for-own/package.json
generated
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"for-own@^0.1.4",
|
||||
"/Users/pmarsceill/_projects/just-the-docs/node_modules/object.omit"
|
||||
]
|
||||
],
|
||||
"_from": "for-own@>=0.1.4 <0.2.0",
|
||||
"_id": "for-own@0.1.4",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/for-own",
|
||||
"_nodeVersion": "5.5.0",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-16-east.internal.npmjs.com",
|
||||
"tmp": "tmp/for-own-0.1.4.tgz_1459091314670_0.658134751021862"
|
||||
},
|
||||
"_npmUser": {
|
||||
"email": "github@sellside.com",
|
||||
"name": "jonschlinkert"
|
||||
},
|
||||
"_npmVersion": "3.6.0",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "for-own",
|
||||
"raw": "for-own@^0.1.4",
|
||||
"rawSpec": "^0.1.4",
|
||||
"scope": null,
|
||||
"spec": ">=0.1.4 <0.2.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/object.omit"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.4.tgz",
|
||||
"_shasum": "0149b41a39088c7515f51ebe1c1386d45f935072",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "for-own@^0.1.4",
|
||||
"_where": "/Users/pmarsceill/_projects/just-the-docs/node_modules/object.omit",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/for-own/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"for-in": "^0.1.5"
|
||||
},
|
||||
"description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.7",
|
||||
"mocha": "^2.4.5"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "0149b41a39088c7515f51ebe1c1386d45f935072",
|
||||
"tarball": "https://registry.npmjs.org/for-own/-/for-own-0.1.4.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "475607dc923dcc399c1bfdbecc0df4b957eb3779",
|
||||
"homepage": "https://github.com/jonschlinkert/for-own",
|
||||
"keywords": [
|
||||
"for-in",
|
||||
"for-own",
|
||||
"has",
|
||||
"has-own",
|
||||
"hasOwn",
|
||||
"key",
|
||||
"keys",
|
||||
"object",
|
||||
"own",
|
||||
"value"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "jonschlinkert",
|
||||
"email": "github@sellside.com"
|
||||
},
|
||||
{
|
||||
"name": "doowb",
|
||||
"email": "brian.woodward@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "for-own",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jonschlinkert/for-own.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"layout": "default",
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
},
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"reflinks": [
|
||||
"verb"
|
||||
],
|
||||
"run": true,
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"toc": false
|
||||
},
|
||||
"version": "0.1.4"
|
||||
}
|
Reference in New Issue
Block a user