An interface for attaching metadata to JavaScript objects.
Last updated 5 years ago by robotlolita .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install metamagical-interface 
SYNC missed versions from official npm registry.

The Meta:Magical Interface

Chat on Gitter Build status NPM version Licence Stability: Experimental

The Meta:Magical interface provides the basic features for annoatating live objects, and querying metadata attached to them. This project is not meant for end users, but rather for tooling developers who want to use this information in their tools.


The only supported way to install the transform plugin is through npm.

If you don't have npm yet, you'll need to install Node.js. All newer versions (4+) of Node come with npm.

$ npm install metamagical-interface


To learn about the Interface, you can use the REPL browser. Before you can do that you'll need to download and build this project:

git clone
cd metamagical
npm install     # install build tooling
make all        # compiles all sub projects

Then launch a Node REPL to browse the project:

node> var Interface = require('./packages/interface')
node> var browser = require('./packages/repl')(Interface)
node> browser.for(Interface).summary()

# Interface

Stability: 1 - Experimental
    • ECMAScript 2015

The Meta:Magical interface allows one to query meta-data associated
with a particular object, or attach new meta-data to any object
without modifying the object.

    (run `.documentation()` for the full docs)

## Properties

### Additional reflective methods

    • allProperties()
      | Retrieves a categorised list of properties in the current

    • properties()
      | Retrieves a categorised list of properties owned by the current

( ... )


If you think you've found a bug in the project, or want to voice your frustration about using it (maybe the documentation isn't clear enough? Maybe it takes too much effort to use?), feel free to open a new issue in the Github issue tracker.

Pull Requests are welcome. By submitting a Pull Request you agree with releasing your code under the MIT licence.

You can join the Gitter Channel for quick support. You can contact the author over email, or Twitter.

Note that all interactions in this project are subject to Origami Tower's Code of Conduct.


Meta:Magical is copyright (c) Quildreen Motta, 2016, and released under the MIT licence. See the LICENCE file in this repository for detailed information.

Current Tags

  • 3.5.0                                ...           latest (3 years ago)

13 Versions

  • 3.5.0                                ...           3 years ago
  • 3.4.0                                ...           4 years ago
  • 3.3.0                                ...           5 years ago
  • 3.2.1                                ...           5 years ago
  • 3.2.0                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.3                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
Dependents (1)

Copyright 2014 - 2017 © |