This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
chiron with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Chiron is a system of CommonJS modules that introduce:
Versions 0.2 and beyond are being developed here on Github. The 0.1 development train is in Subversion at Google Code .
$ npm install chiron
$ tusk install chiron
Chiron modules can be used both on the client and server side. Chiron
ships with a browser-based XHR module loader.
modules.js is a script,
suitable for inclusion on with a
<script> tag in a web page. The
script will instantiate a module system in the page. In the script tag,
put the identifier of your main module in the query string::
If your module library is in an alternate location, you can supply a library path on the query string as well::
Tools for bundling and minimizing modules for production are presently being recreated for this version of Chiron.
modules.js leaves no trace of itself in the DOM or in the global scope
(it does not add any properties to the
window object, and removes its
<script> tag from the DOM. Thus, Chiron is very kind to its
neighbors, and most modules are designed deffensively and non-aggressively.
Chiron is a component of the Tale web-game project.
All contributions are provided under permissive, non-viral licenses including MIT, BSD, Creative Commons Attribution 2.5, Public Domain, or unrestricted.
Copyright (c) 2002-2009 Kris Kowal http://cixar.com/~kris.kowal MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Kris Kowal http://cixar.com/~kris.kowal/
boost.js, & al:
Steve Levithan http://stevenlevithan.com/
good bits from the Doctype project,
New BSD License
Mark James http://www.famfamfam.com/
Silk icon set,
Creative Commons Attribution 2.5 License