{"_id":"@protobufjs/extend","_rev":"60480","name":"@protobufjs/extend","description":"Provides minimal drop-in inheritance for classes.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"time":{"modified":"2021-06-03T10:20:28.000Z","created":"2016-12-15T12:32:54.741Z","1.0.2":"2017-01-03T15:31:16.155Z","1.0.1":"2016-12-20T21:35:48.040Z","1.0.0":"2016-12-15T12:32:54.741Z"},"users":{},"author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"versions":{"1.0.2":{"name":"@protobufjs/extend","description":"Provides minimal drop-in inheritance for classes.","version":"1.0.2","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"license":"BSD-3-Clause","main":"index.js","types":"index.d.ts","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/extend@1.0.2","scripts":{},"_shasum":"cb7fe9d374bda82f719fe8ca050078c55e9e17d6","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"cb7fe9d374bda82f719fe8ca050078c55e9e17d6","size":1816,"noattachment":false,"key":"/@protobufjs/extend/-/@protobufjs/extend-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@protobufjs/extend/download/@protobufjs/extend-1.0.2.tgz"},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/extend-1.0.2.tgz_1483457474078_0.544259715359658"},"directories":{},"publish_time":1483457476155,"_cnpm_publish_time":1483457476155,"_hasShrinkwrap":false},"1.0.1":{"name":"@protobufjs/extend","description":"Provides minimal drop-in inheritance for classes.","version":"1.0.1","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/extend@1.0.1","scripts":{},"_shasum":"88daf71df58fe8e066203da262a8e287fa29dc67","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"88daf71df58fe8e066203da262a8e287fa29dc67","size":1715,"noattachment":false,"key":"/@protobufjs/extend/-/@protobufjs/extend-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@protobufjs/extend/download/@protobufjs/extend-1.0.1.tgz"},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/extend-1.0.1.tgz_1482269747420_0.1999995205551386"},"directories":{},"publish_time":1482269748040,"_cnpm_publish_time":1482269748040,"_hasShrinkwrap":false},"1.0.0":{"name":"@protobufjs/extend","description":"Provides minimal drop-in inheritance for classes.","version":"1.0.0","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/extend@1.0.0","scripts":{},"_shasum":"a005e58eed2b662b3b5837147e2a20397b447f45","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"},"dist":{"shasum":"a005e58eed2b662b3b5837147e2a20397b447f45","size":4858,"noattachment":false,"key":"/@protobufjs/extend/-/@protobufjs/extend-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@protobufjs/extend/download/@protobufjs/extend-1.0.0.tgz"},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/extend-1.0.0.tgz_1481805174009_0.5459660526830703"},"directories":{},"publish_time":1481805174741,"_cnpm_publish_time":1481805174741,"_hasShrinkwrap":false}},"readme":"@protobufjs/extend\r\n==================\r\n[![npm](https://img.shields.io/npm/v/@protobufjs/extend.svg)](https://www.npmjs.com/package/@protobufjs/extend)\r\n\r\nProvides minimal drop-in inheritance for classes.\r\n\r\nUsage\r\n-----\r\n\r\n```js\r\nfunction ParentClass() {\r\n}\r\nParentClass.extend = require(\"@protobufjs/extend\");\r\n```\r\n\r\n```js\r\nfunction ChildClass() {\r\n}\r\nvar ChildPrototype = ParentClass.extend(ChildClass); // also inherits .extend itself\r\n```\r\n\r\n```js\r\nfunction GrandchildClass() {\r\n}\r\nvar GrandchildPrototype = ChildClass.extend(GrandchildClass); // and so it goes forever\r\n```\r\n\r\n**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)\r\n","_attachments":{},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"license":"BSD-3-Clause"}