inspect-with-kind
Advanced tools
Comparing version
{ | ||
"name": "inspect-with-kind", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "`util.inspect` with additional type information", | ||
@@ -11,3 +11,3 @@ "repository": "shinnn/inspect-with-kind", | ||
}, | ||
"license": "MIT", | ||
"license": "ISC", | ||
"files": [ | ||
@@ -30,10 +30,10 @@ "index.js" | ||
"dependencies": { | ||
"kind-of": "^5.0.0" | ||
"kind-of": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@shinnn/eslint-config-node": "^4.0.0", | ||
"eslint": "^4.1.1", | ||
"nyc": "^11.0.2", | ||
"tape": "^4.6.3", | ||
"zen-observable": "^0.5.2" | ||
"@shinnn/eslint-config-node": "^4.0.2", | ||
"eslint": "^4.9.0", | ||
"nyc": "^11.2.1", | ||
"tape": "^4.8.0", | ||
"zen-observable": "^0.6.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "eslintConfig": { |
# inspect-with-kind | ||
[](https://www.npmjs.com/package/inspect-with-kind) | ||
[](https://www.npmjs.com/package/inspect-with-kind) | ||
[](https://travis-ci.org/shinnn/inspect-with-kind) | ||
@@ -10,8 +10,6 @@ [](https://coveralls.io/github/shinnn/inspect-with-kind?branch=master) | ||
```javascript | ||
const util = require('util'); | ||
util.inspect([1, 2, 3]); //=> '[ 1, 2, 3 ]' | ||
const {inspect} = require('util'); | ||
const inspectWithKind = require('inspect-with-kind'); | ||
inspect([1, 2, 3]); //=> '[ 1, 2, 3 ]' | ||
inspectWithKind([1, 2, 3]); //=> '[ 1, 2, 3 ] (array)' | ||
@@ -38,3 +36,3 @@ ``` | ||
*options*: `Object` ([`util.inspect`][util.inspect] options) | ||
Return: `String` | ||
Return: `string` | ||
@@ -91,6 +89,4 @@ Almost the same as `util.inspect`, but: | ||
Copyright (c) 2017 [Shinnosuke Watanabe](https://github.com/shinnn) | ||
[ISC License](./LICENSE) © 2017 Shinnosuke Watanabe | ||
Licensed under [the MIT License](./LICENSE). | ||
[util.inspect]: https://nodejs.org/api/util.html#util_util_inspect_object_options |
Sorry, the diff of this file is not supported yet
5039
-7.32%90
-4.26%+ Added
- Removed
Updated