{
"_from": "inherits@2.0.4",
"_id": "inherits@2.0.4",
"_inBundle": false,
"_integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"_location": "/npm/inherits",
"_phantomChildren": {},
"_requested": {
"escapedName": "inherits",
"fetchSpec": "2.0.4",
"name": "inherits",
"raw": "inherits@2.0.4",
"rawSpec": "2.0.4",
"registry": true,
"saveSpec": null,
"type": "version"
},
"_requiredBy": [
"#USER",
"/npm",
"/npm/are-we-there-yet/readable-stream",
"/npm/concat-stream",
"/npm/concat-stream/readable-stream",
"/npm/duplexify",
"/npm/duplexify/readable-stream",
"/npm/flush-write-stream",
"/npm/flush-write-stream/readable-stream",
"/npm/from2",
"/npm/from2/readable-stream",
"/npm/fs-write-stream-atomic/readable-stream",
"/npm/glob",
"/npm/parallel-transform",
"/npm/parallel-transform/readable-stream",
"/npm/pumpify",
"/npm/readable-stream",
"/npm/sorted-union-stream/from2",
"/npm/sorted-union-stream/readable-stream",
"/npm/stream-iterate/readable-stream",
"/npm/through2/readable-stream"
],
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"_shasum": "0fa2c64f932917c3433a0ded55363aae37416b7c",
"_shrinkwrap": null,
"_spec": "inherits@2.0.4",
"_where": "/Users/isaacs/dev/npm/cli",
"browser": "./inherits_browser.js",
"bugs": {
"url": "https://github.com/isaacs/inherits/issues"
},
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
"devDependencies": {
"tap": "^14.2.4"
},
"files": [
"inherits.js",
"inherits_browser.js"
],
"homepage": "https://github.com/isaacs/inherits#readme",
"keywords": [
"browser",
"browserify",
"class",
"inheritance",
"inherits",
"klass",
"object-oriented",
"oop"
],
"license": "ISC",
"main": "./inherits.js",
"name": "inherits",
"optionalDependencies": {},
"readme": "Browser-friendly inheritance fully compatible with standard node.js\n[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).\n\nThis package exports standard `inherits` from node.js `util` module in\nnode environment, but also provides alternative browser-friendly\nimplementation through [browser\nfield](https://gist.github.com/shtylman/4339901). Alternative\nimplementation is a literal copy of standard one located in standalone\nmodule to avoid requiring of `util`. It also has a shim for old\nbrowsers with no `Object.create` support.\n\nWhile keeping you sure you are using standard `inherits`\nimplementation in node.js environment, it allows bundlers such as\n[browserify](https://github.com/substack/node-browserify) to not\ninclude full `util` package to your client code if all you need is\njust `inherits` function. It worth, because browser shim for `util`\npackage is large and `inherits` is often the single function you need\nfrom it.\n\nIt's recommended to use this package instead of\n`require('util').inherits` for any code that has chances to be used\nnot only in node.js but in browser too.\n\n## usage\n\n```js\nvar inherits = require('inherits');\n// then use exactly as the standard one\n```\n\n## note on version ~1.0\n\nVersion ~1.0 had completely different motivation and is not compatible\nneither with 2.0 nor with standard node.js `inherits`.\n\nIf you are using version ~1.0 and planning to switch to ~2.0, be\ncareful:\n\n* new version uses `super_` instead of `super` for referencing\n superclass\n* new version overwrites current prototype while old one preserves any\n existing fields on it\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/inherits.git"
},
"scripts": {
"test": "tap"
},
"version": "2.0.4"
}