JSPM

  • Created
  • Published
  • Downloads 313
  • Score
    100M100P100Q91627F

Convert AMD & commonjs modules to commonjs, AMD, UMD or single `.js` and run/test on nodejs, Browser/AMD or Browser/Script.

Package Exports

  • urequire

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (urequire) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

uRequire v0.6.2

Build Status

The JavaScript Universal Module & Resource Converter

All documentation is moved to the wiki and http://urequire.org

Dont forget to star(this) with your love above :-)

Some Introduction

praise.to("Modular").forEach(['Development', 'Deployment']);

Why use modules like AMD, Common/JS or Harmony/ES6 ?

Write modular code, with clearly stated dependencies.

Code for humans to follow, that is maintainable & reusable.

The damnation of authoring Javascript as one huge file or concatenating must end! Are you still concatenating .js files ?

Why use uRequire ?

Module formats are incompatible in all terms: syntax, execution environment, capabilities, dependency/path resolution, plugins, semantics etc.

You want the power, goodies & standards assurance from all.

But write in just one or a Universal Module Format!

Be able to convert from any format, to any other. uRequire does exactly this! If you have sensibly defined it, uRequire will find it.

What will uRequire do ?

Help you write modular Javascript code once, run everywhere.

Avoid boilerplate, just use the richness of modular development.

In-memory Convert Resources, with the 1st and only Modules & Dependencies aware builder.

Manipulate the Modules while building: inject, remove, replace Dependencies & code. Voila, execute in all runtimes: Web/Script, Web/AMD, nodejs!

focus.on("Da JS Code").then({convert:"anything"}).then({execute:"everywhere"});

Continue reading at http://urequire.org

License

The MIT License

Copyright (c) 2012 Agelos Pikoulas (agelos.pikoulas@gmail.com)

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.