Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

bloody-inherit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloody-inherit

inherit from an object

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

inherit

inherit from an object

browser support

Build Status

install

$ npm install bloody-inherit

require

var inherit = require("bloody-inherit")

api

inherit(proto) > object

creates an object that inherits from proto using prototypal inhertance (uses Object.create when available).

example

var proto = {
  value : 1
}
var object = inherit(proto)
object.value // 1
proto.value = 2
object.value // 2

FAQs

Package last updated on 19 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts