{"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/extend/download/@protobufjs/extend-1.0.0.tgz","integrity":"sha512-uyjru4k8tM7eZ0C83Vtw2TJ10W/PLorUuNfZITeEzixwlybTfvy9jIVkIclOcSh3kkO/09y6lLxgDN1jr/TDGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFh8ttLjUpHRfOBUe3VsQdExQ70rjDrwglpU3p/ES3WAIhAM60xKM2w9mvp2xhBxOCn3p8Uawq2ihPzBCmDKHAPyUD"}],"size":4858,"noattachment":false,"key":"/@protobufjs/extend/-/@protobufjs/extend-1.0.0.tgz"},"maintainers":[{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/extend-1.0.0.tgz_1481805174009_0.5459660526830703"},"directories":{},"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","publish_time":1481805174741,"_cnpm_publish_time":1481805174741,"dist-tags":{"latest":"1.0.2"}}