gordo

0.1.1 • Public • Published

gordo

Monkey patches that are out of this world!

use

Just require('gordo') and you'll be in orbit.

Adds Symbol.identity and Symbol.metadata and associates these with properties added to Object.

myObject[Symbol.identity] should return a unique id (during a given run) for any object.

myObject[Symbol.metadata] should return a Map unique to that object. Not intended to be private but should not be inherited or popping up in unexpected places.

License

ISC

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gordo

      Weekly Downloads

      1

      Version

      0.1.1

      License

      ISC

      Last publish

      Collaborators

      • kavlon