Repository URL to install this package:
Version:
1.9.1-1486597190 ▾
|
{
"_args": [
[
"inherits@https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"/vso/work/2/s"
]
],
"_from": "inherits@>=2.0.1 <3.0.0",
"_id": "inherits@2.0.1",
"_inCache": true,
"_location": "/inherits",
"_phantomChildren": {},
"_requested": {
"name": "inherits",
"raw": "inherits@https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/bl/readable-stream",
"/chokidar",
"/cloneable-readable",
"/css",
"/duplexer2/readable-stream",
"/duplexify",
"/eslint/glob",
"/glob",
"/glob-expand/glob",
"/glob-stream/glob",
"/glob-stream/readable-stream",
"/globby/glob",
"/grunt/findup-sync/glob",
"/gulp-atom-electron/readable-stream",
"/gulp-azure-storage/queue",
"/gulp-azure-storage/readable-stream",
"/gulp-azure-storage/through2/readable-stream",
"/gulp-buffer/readable-stream",
"/gulp-flatmap/readable-stream",
"/gulp-gm/readable-stream",
"/gulp-image-resize/readable-stream",
"/gulp-json-editor/readable-stream",
"/gulp-remote-src/readable-stream",
"/gulp-symdest/queue",
"/gulp-vinyl-zip/queue",
"/gulp-vinyl-zip/readable-stream",
"/gulp/readable-stream",
"/htmlparser2",
"/mocha/glob",
"/queue",
"/readable-stream",
"/remap-istanbul/readable-stream",
"/rimraf/glob",
"/shelljs/glob",
"/tslint/findup-sync/glob",
"/tslint/glob",
"/util",
"/vinyl-fs/glob-stream/readable-stream",
"/vscode-nls-dev/glob"
],
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
"_shrinkwrap": null,
"_spec": "inherits@https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"_where": "/vso/work/2/s",
"browser": "./inherits_browser.js",
"bugs": {
"url": "https://github.com/isaacs/inherits/issues"
},
"dependencies": {},
"description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
"devDependencies": {},
"homepage": "https://github.com/isaacs/inherits#readme",
"keywords": [
"inheritance",
"class",
"klass",
"oop",
"object-oriented",
"inherits",
"browser",
"browserify"
],
"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": "node test"
},
"version": "2.0.1"
}