{"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"jazz","email":"jazzzz@gmail.com"},{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"}],"dist-tags":{"latest":"3.0.1"},"author":{"name":"ForbesLindesay"},"description":"Universal Module Definition for use in automated build systems","readme":"# umd\n<img src=\"http://i.imgur.com/ypw29XY.png\" align=\"right\"/>\n\nUniversal Module Definition for use in automated build systems\n\n - simple synchronous wrapping of a string\n - `return` style module support\n - CommonJS support\n - prevents internal UMDs from conflicting\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/umd/master.svg)](https://travis-ci.org/ForbesLindesay/umd)\n[![Dependency Status](https://img.shields.io/gemnasium/ForbesLindesay/umd.svg)](https://gemnasium.com/ForbesLindesay/umd)\n[![NPM version](https://img.shields.io/npm/v/umd.svg)](http://badge.fury.io/js/umd)\n\n## Source Format\n\nIn order for the UMD wrapper to work the source code for your module should `return` the export, e.g.\n\n```javascript\nfunction method() {\n  //code\n}\nmethod.helper = function () {\n  //code\n}\nreturn method;\n```\n\nFor examples, see the examples directory.  The CommonJS module format is also supported by passing true as the second argument to methods.\n\n## API\n\noptions:\n\n - `commonJS` (default: `false`) - If commonJS is `true` then it will accept CommonJS source instead of source code which `return`s the module.\n\n### umd(name, source, [options])\n\n  The `name` should the the name of the module.  Use a string like name, all lower case with hyphens instead of spaces.\n\n  If `source` should be a string, that is wrapped in umd and returned as a string.\n\n### umd.prelude(module, [options])\n\n  return the text which will be inserted before a module.\n\n### umd.postlude(module, [options])\n\n  return the text which will be inserted after a module.\n\n## Command Line\n\n```\nUsage: umd <name> <source> <destination> [options]\n\nPipe Usage: umd <name> [options] < source > destination\n\nOptions:\n\n -h --help     Display usage information\n -c --commonJS Use CommonJS module format\n ```\n\n You can easilly pipe unix commands together like:\n\n ```js\n cat my-module.js | umd my-module | uglify-js > my-module.umd.min.js\n ```\n\n## Name Casing and Characters\n\nThe `name` passed to `umd` will be converted to camel case (`my-library` becomes `myLibrary`) and may only contain:\n\n* alphanumeric characters\n* $\n* _\n\nThe name may not begin with a number. Invalid characters will be stripped. \n\n## License\n\n  MIT\n","repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"users":{"fdaciuk":true,"willhoag":true,"simplyianm":true,"mondalaci":true,"yoannmoinet":true},"bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"license":"MIT","versions":{"1.0.0":{"name":"umd","version":"1.0.0","description":"Universal Module Definition for use in automated build systems","main":"index.js","directories":{"example":"examples"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.2.7","uglify-js":"~2.2.5"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"7f34f679e59a5051e6d4fe7e6be9657a440bbc86","_id":"umd@1.0.0","dist":{"shasum":"27af9f91760a12b22616dddf089fefee20c7a3af","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.1.0":{"name":"umd","version":"1.1.0","description":"Universal Module Definition for use in automated build systems","main":"index.js","directories":{"example":"examples"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.2.7","uglify-js":"~2.2.5"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"7f34f679e59a5051e6d4fe7e6be9657a440bbc86","_id":"umd@1.1.0","dist":{"shasum":"c2a34e0c61f82f7e60a2234fbb6a7b889d11dbb5","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.1.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.1.1":{"name":"umd","version":"1.1.1","description":"Universal Module Definition for use in automated build systems","main":"index.js","directories":{"example":"examples"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.1","uglify-js":"~2.2.5"},"devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"7f34f679e59a5051e6d4fe7e6be9657a440bbc86","_id":"umd@1.1.1","dist":{"shasum":"481b64655b1b3db0c1f3910225c3804fc6d7ec58","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.1.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}]},"1.2.0":{"name":"umd","version":"1.2.0","description":"Universal Module Definition for use in automated build systems","dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.1","uglify-js":"~2.2.5"},"devDependencies":{"win-spawn":"~1.1.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"cd bin && win-line-endings && cd .."},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","_id":"umd@1.2.0","dist":{"shasum":"79cf78158e0f74d601761c25f92f0f46ef5fe49a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.2.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.2.1":{"name":"umd","version":"1.2.1","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.1","uglify-js":"~2.2.5"},"devDependencies":{"win-spawn":"~1.1.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"cd bin && win-line-endings && cd .."},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","_id":"umd@1.2.1","dist":{"shasum":"b988357ec157f7a0c24e2984e9aae7581f214039","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.2.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.3.0":{"name":"umd","version":"1.3.0","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.1","uglify-js":"~2.3.6"},"devDependencies":{"linify":"~1.0.1","mocha":"*"},"scripts":{"test":"mocha -R spec","prepublish":"linify transform bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","_id":"umd@1.3.0","dist":{"shasum":"dd28a6b749351e3a52bff7794433c9268f54d90c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.3.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"1.3.1":{"name":"umd","version":"1.3.1","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.4","uglify-js":"~2.4.0"},"devDependencies":{"linify":"~1.0.1","mocha":"*"},"scripts":{"test":"mocha -R spec","prepublish":"linify transform bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"_id":"umd@1.3.1","dist":{"shasum":"fce557c2dbf731fbc207832ff35f6a5857182589","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-1.3.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"2.0.0":{"name":"umd","version":"2.0.0","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.4","uglify-js":"~2.4.0"},"devDependencies":{"linify":"~1.0.1","mocha":"*"},"scripts":{"test":"mocha -R spec","prepublish":"linify transform bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"homepage":"https://github.com/ForbesLindesay/umd","_id":"umd@2.0.0","dist":{"shasum":"749683b0d514728ae0e1b6195f5774afc0ad4f8f","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-2.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"2.1.0":{"name":"umd","version":"2.1.0","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{"rfile":"~1.0.0","ruglify":"~1.0.0","through":"~2.3.4","uglify-js":"~2.4.0"},"devDependencies":{"linify":"~1.0.1","mocha":"*"},"scripts":{"test":"mocha -R spec","prepublish":"linify transform bin"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"homepage":"https://github.com/ForbesLindesay/umd","_id":"umd@2.1.0","dist":{"shasum":"4a6307b762f17f02d201b5fa154e673396c263cf","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-2.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"directories":{}},"3.0.0":{"name":"umd","version":"3.0.0","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{},"devDependencies":{"brfs":"^1.3.0","linify":"~1.0.1","mocha":"*","uglify-js":"~2.4.0"},"scripts":{"build":"uglifyjs template.js > template.min.js && brfs source.js > index.js","test":"npm run build && mocha -R spec","prepublish":"npm run build && linify transform bin"},"files":["index.js","bin/cli.js"],"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"11c4644d052114132a47add8eca1a71204b1c2ce","bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"homepage":"https://github.com/ForbesLindesay/umd","_id":"umd@3.0.0","_shasum":"328de29bf1004abb4d6309d7fff1b84b9f823b83","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"}],"dist":{"shasum":"328de29bf1004abb4d6309d7fff1b84b9f823b83","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-3.0.0.tgz"},"directories":{}},"3.0.1":{"name":"umd","version":"3.0.1","description":"Universal Module Definition for use in automated build systems","bin":{"umd":"./bin/cli.js"},"dependencies":{},"devDependencies":{"brfs":"^1.3.0","linify":"~1.0.1","mocha":"*","uglify-js":"~2.4.0"},"scripts":{"build":"uglifyjs template.js > template.min.js && brfs source.js > index.js","test":"npm run build && mocha -R spec","prepublish":"npm run build && linify transform bin"},"files":["index.js","bin/cli.js"],"repository":{"type":"git","url":"https://github.com/ForbesLindesay/umd.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","gitHead":"8fc39397901723d695136ee1fdceefb8e0392f5f","bugs":{"url":"https://github.com/ForbesLindesay/umd/issues"},"homepage":"https://github.com/ForbesLindesay/umd","_id":"umd@3.0.1","_shasum":"8ae556e11011f63c2596708a8837259f01b3d60e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"jazz","email":"jazzzz@gmail.com"},{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"}],"dist":{"shasum":"8ae556e11011f63c2596708a8837259f01b3d60e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/umd/-/umd-3.0.1.tgz"},"directories":{}}},"name":"umd","time":{"modified":"2015-04-25T14:50:15.832Z","created":"2013-03-26T05:09:33.985Z","1.0.0":"2013-03-26T05:09:36.313Z","1.1.0":"2013-03-31T19:24:56.285Z","1.1.1":"2013-04-15T19:55:25.549Z","1.2.0":"2013-06-07T11:19:06.243Z","1.2.1":"2013-06-07T11:26:24.776Z","1.3.0":"2013-08-01T17:31:28.137Z","1.3.1":"2013-08-25T01:51:28.728Z","2.0.0":"2013-12-29T12:25:45.312Z","2.1.0":"2014-04-02T20:44:32.686Z","3.0.0":"2015-02-04T14:36:50.882Z","3.0.1":"2015-04-25T14:50:15.832Z"},"readmeFilename":"README.md","homepage":"https://github.com/ForbesLindesay/umd"}