This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
amd-plugins with all
npm packages installed. Try it out:
amd-plugins lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A collection of handy plugins for AMD loaders.
These plugins are things we've found useful in our development of large-scale web applications with complex dependencies and configuration. When we converted our codebase to AMD as a module management method, we realized the plugin capability opened a number of doors for application configuration, with the added bonus of built-in cache management by the loader.
The plugin only does simple processing of the $ref values, and does not yet attempt to do full resolution of identifiers such as self reference (#). However, a formatter function can be supplied that manipulates the schema name, so advanced processing or transformation can be done if required.
The properties plugin loads Java-style name=value pair properties files and turns them in the JSON.
This is a plugin to provide helpful utilities for cross-window work. It includes safe (origin restricted) postMessage capability, as well as a shared data store that sits in the topmost window but is accessible to all children (also via postMessage).
Functions exposed are:
Need to move the require.js file into a lib directory so it is more clear that it is an external dependency.
ECMA5 compatibility is assumed - if you need to use in a legacy browser, consider a shim.
##License This software is licensed under the Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0).