3d69f4f40c5b203b0df5ef487d2a3ef13925da0e
[sdnc/oam.git] / dgbuilder / dgeflows / node_modules / serve-index / node_modules / http-errors / node_modules / inherits / package.json
1 {
2   "name": "inherits",
3   "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
4   "version": "2.0.1",
5   "keywords": [
6     "inheritance",
7     "class",
8     "klass",
9     "oop",
10     "object-oriented",
11     "inherits",
12     "browser",
13     "browserify"
14   ],
15   "main": "./inherits.js",
16   "browser": "./inherits_browser.js",
17   "repository": {
18     "type": "git",
19     "url": "git://github.com/isaacs/inherits"
20   },
21   "license": "ISC",
22   "scripts": {
23     "test": "node test"
24   },
25   "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",
26   "readmeFilename": "README.md",
27   "bugs": {
28     "url": "https://github.com/isaacs/inherits/issues"
29   },
30   "_id": "inherits@2.0.1",
31   "dist": {
32     "shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
33     "tarball": "http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
34   },
35   "_from": "inherits@~2.0.1",
36   "_npmVersion": "1.3.8",
37   "_npmUser": {
38     "name": "isaacs",
39     "email": "i@izs.me"
40   },
41   "maintainers": [
42     {
43       "name": "isaacs",
44       "email": "i@izs.me"
45     }
46   ],
47   "directories": {},
48   "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
49   "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
50   "homepage": "https://github.com/isaacs/inherits"
51 }