"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/node_modules/inherits/package.json" (11 Apr 2017, 3436 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "_from": "inherits@>=2.0.1 <2.1.0",
    3   "_id": "inherits@2.0.1",
    4   "_location": "/atom-package-manager/npm/inherits",
    5   "_phantomChildren": {},
    6   "_requiredBy": [
    7     "/atom-package-manager/npm",
    8     "/atom-package-manager/npm/fstream",
    9     "/atom-package-manager/npm/fstream-npm",
   10     "/atom-package-manager/npm/fstream-npm/fstream-ignore",
   11     "/atom-package-manager/npm/glob",
   12     "/atom-package-manager/npm/init-package-json/glob",
   13     "/atom-package-manager/npm/npm-registry-client/concat-stream",
   14     "/atom-package-manager/npm/npm-registry-client/concat-stream/readable-stream",
   15     "/atom-package-manager/npm/read-package-json/glob",
   16     "/atom-package-manager/npm/readable-stream",
   17     "/atom-package-manager/npm/request/bl/readable-stream",
   18     "/atom-package-manager/npm/tar",
   19     "/atom-package-manager/npm/tar/block-stream"
   20   ],
   21   "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
   22   "_shasum": "b17d08d326b4423e568eff719f91b0b1cbdf69f1",
   23   "_shrinkwrap": null,
   24   "browser": "./inherits_browser.js",
   25   "bugs": {
   26     "url": "https://github.com/isaacs/inherits/issues"
   27   },
   28   "dependencies": {},
   29   "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
   30   "devDependencies": {},
   31   "homepage": "https://github.com/isaacs/inherits#readme",
   32   "keywords": [
   33     "inheritance",
   34     "class",
   35     "klass",
   36     "oop",
   37     "object-oriented",
   38     "inherits",
   39     "browser",
   40     "browserify"
   41   ],
   42   "license": "ISC",
   43   "main": "./inherits.js",
   44   "name": "inherits",
   45   "optionalDependencies": {},
   46   "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",
   47   "readmeFilename": "README.md",
   48   "repository": {
   49     "type": "git",
   50     "url": "git://github.com/isaacs/inherits.git"
   51   },
   52   "scripts": {
   53     "test": "node test"
   54   },
   55   "version": "2.0.1"
   56 }