From 0bd8aa943339a75b86f1891f4c27d8923b26f144 Mon Sep 17 00:00:00 2001 From: jonschlinkert Date: Thu, 28 May 2015 04:03:22 -0400 Subject: [PATCH] 2.0.1 metadata updates --- .verb.md | 12 ++++++++---- README.md | 44 +++++++++++++++++++++++++++++--------------- bower.json | 20 +++++++------------- package.json | 26 ++++++++++---------------- 4 files changed, 54 insertions(+), 48 deletions(-) diff --git a/.verb.md b/.verb.md index 853886c..0ff58ee 100644 --- a/.verb.md +++ b/.verb.md @@ -4,11 +4,9 @@ Use [isobject](https://github.com/jonschlinkert/isobject) if you only want to check if the value is an object and not an array or null. +## Install {%= include("install-npm", {save: true}) %} -## Running tests -{%= include("tests") %} - ## Usage ```js @@ -45,6 +43,12 @@ isPlainObject(Object.create(null)); //=> false ``` +## Related projects +{%= related(['is-plain-object', 'kind-of', 'for-own', 'extend-shallow', 'isobject', 'for-in', 'assign-deep', 'merge-deep']) %} + +## Running tests +{%= include("tests") %} + ## Author {%= include("author") %} @@ -54,4 +58,4 @@ isPlainObject(Object.create(null)); *** -{%= include("footer") %} \ No newline at end of file +{%= include("footer") %} diff --git a/README.md b/README.md index 584dbb7..1847a7d 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,14 @@ Use [isobject](https://github.com/jonschlinkert/isobject) if you only want to check if the value is an object and not an array or null. -## Install with [npm](npmjs.org) +## Install -```bash -npm i is-plain-object --save -``` - -## Running tests -Install dev dependencies. +Install with [npm](https://www.npmjs.com/) -```bash -npm i -d && npm test +```sh +$ npm i is-plain-object --save ``` - ## Usage ```js @@ -54,17 +48,37 @@ isPlainObject(Object.create(null)); //=> false ``` +## Related projects + +* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object. +* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. +* [for-own](https://github.com/jonschlinkert/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) +* [for-in](https://github.com/jonschlinkert/for-in): Iterate over the own and inherited enumerable properties of an objecte, and return an object… [more](https://github.com/jonschlinkert/for-in) +* [is-plain-object](https://github.com/jonschlinkert/is-plain-object): Returns true if an object was created by the `Object` constructor. +* [isobject](https://github.com/jonschlinkert/isobject): Returns true if the value is an object and not an array or null. +* [kind-of](https://github.com/jonschlinkert/kind-of): Get the native type of a value. +* [merge-deep](https://github.com/jonschlinkert/merge-deep): Recursively merge values in a javascript object. + +## Running tests + +Install dev dependencies: + +```sh +$ npm i -d && npm test +``` + ## Author **Jon Schlinkert** - + + [github/jonschlinkert](https://github.com/jonschlinkert) -+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ++ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ## License -Copyright (c) 2015 Jon Schlinkert -Released under the MIT license + +Copyright © 2015 Jon Schlinkert +Released under the MIT license. *** -_This file was generated by [verb](https://github.com/assemble/verb) on February 25, 2015._ \ No newline at end of file +_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 28, 2015._ diff --git a/bower.json b/bower.json index f33fdc5..633b9a5 100644 --- a/bower.json +++ b/bower.json @@ -1,26 +1,17 @@ { "name": "is-plain-object", "description": "Returns true if an object was created by the `Object` constructor.", - "repository": { - "type": "git", - "url": "git://github.com/jonschlinkert/is-plain-object.git" - }, - "license": { - "type": "MIT", - "url": "https://github.com/jonschlinkert/is-plain-object/blob/master/LICENSE" - }, + "repository": "jonschlinkert/is-plain-object", + "license": "MIT", "homepage": "https://github.com/jonschlinkert/is-plain-object", "authors": [ - { - "name": "Jon Schlinkert", - "homepage": "https://github.com/jonschlinkert" - } + "Jon Schlinkert (https://github.com/jonschlinkert)" ], "main": [ "index.js" ], "dependencies": { - "isobject": "^0.2.0" + "isobject": "^1.0.0" }, "devDependencies": { "browserify": "*", @@ -37,6 +28,9 @@ "isobject", "plain", "value", + "type", + "kind", + "kind-of", "typeof", "javascript", "check", diff --git a/package.json b/package.json index 261b6d1..f86398f 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,14 @@ { "name": "is-plain-object", "description": "Returns true if an object was created by the `Object` constructor.", - "version": "2.0.0", + "version": "2.0.1", "homepage": "https://github.com/jonschlinkert/is-plain-object", - "author": { - "name": "Jon Schlinkert", - "url": "https://github.com/jonschlinkert" - }, - "repository": { - "type": "git", - "url": "git://github.com/jonschlinkert/is-plain-object.git" - }, + "author": "Jon Schlinkert (https://github.com/jonschlinkert)", + "repository": "jonschlinkert/is-plain-object", "bugs": { "url": "https://github.com/jonschlinkert/is-plain-object/issues" }, - "license": { - "type": "MIT", - "url": "https://github.com/jonschlinkert/is-plain-object/blob/master/LICENSE" - }, + "license": "MIT", "files": [ "index.js" ], @@ -28,11 +19,11 @@ "scripts": { "browserify": "browserify index.js --standalone isPlainObject | uglifyjs --compress --mangle -o browser/is-plain-object.js", "test_browser": "mocha-phantomjs test/browser.html", - "test_node": "mocha test", + "test_node": "mocha", "test": "npm run test_node && npm run browserify && npm run test_browser" }, "dependencies": { - "isobject": "^0.2.0" + "isobject": "^1.0.0" }, "devDependencies": { "browserify": "*", @@ -49,9 +40,12 @@ "isobject", "plain", "value", + "type", + "kind", + "kind-of", "typeof", "javascript", "check", "type" ] -} \ No newline at end of file +}