Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gamtiq/object-create-shim

Simple shim for ECMAScript 5 Object.create
https://github.com/gamtiq/object-create-shim

Last synced: about 7 hours ago
JSON representation

Simple shim for ECMAScript 5 Object.create

Awesome Lists containing this project

README

        

# object-create-shim

Simple shim for ECMAScript 5 `Object.create`

## Installation

Install [Component](https://github.com/componentjs/component):

npm install -g component

Then:

component install gamtiq/object-create-shim

## Usage

var create = require("object-create-shim");
...
var obj1 = Object.create(someParent1);
var obj2 = create(someParent2);

## Licence

MIT