{"_id":"@5punk/systemjs","_rev":"1-8a3f77538116930f9298ef944251d1ab","name":"@5punk/systemjs","dist-tags":{"latest":"0.22.0"},"versions":{"0.22.0":{"name":"@5punk/systemjs","version":"0.22.0","description":"Dynamic ES module loader","repository":{"type":"git","url":"git://github.com/5punk/systemjs.git"},"author":{"name":"Guy Bedford"},"license":"MIT","files":["dist"],"main":"dist/system.src.js","devDependencies":{"babel-core":"^6.21.0","babel-plugin-syntax-dynamic-import":"^6.18.0","babel-plugin-transform-es2015-modules-systemjs":"^6.19.0","bluebird":"^3.4.6","es-module-loader":"^2.3.0","mocha":"^3.1.2","rimraf":"^2.6.1","rollup":"^0.58.0","rollup-plugin-node-resolve":"^2.0.0","rollup-plugin-replace":"^1.1.1","systemjs-plugin-babel":"0.0.17","systemjs-plugin-traceur":"0.0.3","traceur":"0.0.111","uglify-js":"^3.0.11"},"scripts":{"build":"npm run build:dev && npm run build:production","build:dev":"rollup -c","build:production":"rollup -c --environment production","min":"npm run min:dev && npm run min:production","min:dev":"cd dist && uglifyjs system.src.js -cm --source-map content=system.src.js.map --comments \"/SystemJS v/\" -o system.js","min:production":"cd dist && uglifyjs system-production.src.js -cm --source-map content=system-production.src.js.map --comments \"/SystemJS v/\" -o system-production.js","footprint":"npm run footprint:dev && npm run footprint:production","footprint:dev":"uglifyjs dist/system.src.js -cm | gzip -9f | wc -c","footprint:production":"uglifyjs dist/system-production.src.js -cm | gzip -9f | wc -c","test":"npm run test:production && npm run test:babel && npm run test:traceur","test:traceur":"mocha test/test-traceur.js -u tdd --reporter dot","test:babel":"mocha test/test-babel.js -u tdd --reporter dot","test:production":"mocha test/test-production.js -u tdd --reporter dot","irhydra":"node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --print-opt-code --trace_hydrogen_file=hydrogen.cfg irhydra/load.js","prepublish":"rimraf dist && npm run build && npm run min"},"gitHead":"1f3974ca84124775a9d620152a7191e0662c195b","bugs":{"url":"https://github.com/5punk/systemjs/issues"},"homepage":"https://github.com/5punk/systemjs#readme","_id":"@5punk/systemjs@0.22.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.0","_npmUser":{"name":"5punk","email":"avaneesh@2die4.com"},"dist":{"integrity":"sha512-kbUiH0sQD6l20kypiSMYFNWtfpXR1tvf1fLi+w+1lUpJXwaglKEAoVq7aoGYJDv+ZXyHCAl68ul/xR0NOT645A==","shasum":"2fd394e3985fe878f90f2c711404c1505a8c7b6b","tarball":"https://registry.npmjs.org/@5punk/systemjs/-/systemjs-0.22.0.tgz","fileCount":11,"unpackedSize":773751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ/h5CRA9TVsSAnZWagAAtr8P/2ebp/sFqqJvrcNFuyaN\ntUsRdvo3uF5DoKHV1MJRw0OAh6AvS0RfltBSv1q2gwlPvu/CI40QQO+CouaR\nJLa5k8zADeiC86ir+ZRPcIRd/vS5MJKj72gttdUG9k2gC1chXRA/vvEdvwY5\nVZYS1fjTXhznzegdioE+CTuJg7gBjHiehJkQiiutHLdHg2eM9DQ6H5Hy5J/y\nllYt92r8I0N3PZw9H3euKTwenVcIGj4IPDkGUZ60fusLCnD8sIKkUiwbTJGQ\nmKBYj2fh5TZNXciNuBzyBsn7yM2qSnk58vBg58wHHzBLYQcH/SGLV95HK8F+\nhDCe3BOIByno1ASg8wPgNMbmMDFptBr21ypoMqajPlDVOhdM4O8RA9Yuzm+a\n90pkrsNbqW/9h8IUTdONMUIMD8A+soBmU9faXC6AeaWN0RK4VV4ufrbjOSMg\n7EkhombI1bNkPnO1QmNnwP7fXH0K424ntpI8chVmHFhMBazxf/U/+F+8oWVH\nKaSu6B0dtidcGV6LdpoxeCJs7ngt3y8bQ7tIjiKsZUOKb55pP1E1yIUKeptN\nlAoSmTaj3xCuk2PX1d28FA+76wE7Q92e8hJZq0y79ufE2tElfWSBlhM8bxuS\nKY2+9S9Bf+OUrnmvCr5rPnEhjF9rtavIw5S8a5DuyiSLWOr+kZoYiqsbOKWA\nSyGM\r\n=wWUM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDe4scviGtVZ13yyHUE1s86nKuhJ0oTxRTvINxNumPirQIgU/aATyVErAY1gjYelF0cAsOF91WXRLyLJFm9E0AUC24="}]},"maintainers":[{"name":"5punk","email":"avaneesh@2die4.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/systemjs_0.22.0_1531181177531_0.9474130589373162"},"_hasShrinkwrap":false}},"time":{"created":"2018-07-10T00:06:17.356Z","0.22.0":"2018-07-10T00:06:17.621Z","modified":"2022-04-04T10:48:38.551Z"},"maintainers":[{"name":"5punk","email":"avaneesh@2die4.com"}],"description":"Dynamic ES module loader","homepage":"https://github.com/5punk/systemjs#readme","repository":{"type":"git","url":"git://github.com/5punk/systemjs.git"},"author":{"name":"Guy Bedford"},"bugs":{"url":"https://github.com/5punk/systemjs/issues"},"license":"MIT","readme":"SystemJS\n========\n\n[![Build Status][travis-image]][travis-url]\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/systemjs/systemjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![Sponsor](https://cdn.canopytax.com/images/canopy-sponsorship.svg)](https://canopytax.github.io/post/systemjs-sponsorship/?utm_source=systemjs)\n\nConfigurable module loader enabling dynamic ES module workflows in browsers and NodeJS.\n\n_[SystemJS 0.20 release notes](https://github.com/systemjs/systemjs/releases/tag/0.20.0)_\n\n_SystemJS is [currently sponsored by Canopy Tax](https://canopytax.github.io/post/systemjs-sponsorship/?utm_source=systemjs)._\n\n* [Loads any module format](docs/module-formats.md) when running the ~15KB development build.\n* Loads ES modules compiled into the `System.register` module format for production with [exact circular reference and binding support](https://github.com/ModuleLoader/es6-module-loader/blob/v0.17.0/docs/circular-references-bindings.md)\n* Supports RequireJS-style [map](docs/getting-started.md#map-config), [paths](https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#paths), and [bundles](docs/production-workflows.md#bundle-extension) configuration.\n\nBuilt with the [ES Module Loader project](https://github.com/ModuleLoader/es-module-loader), which is based on principles and APIs from the WhatWG Loader specification, modules in HTML and NodeJS.\n\nFor discussion, join the [Gitter Room](https://gitter.im/systemjs/systemjs).\n\nDocumentation\n---\n\n* [Getting Started](docs/getting-started.md)\n* [Module Formats](docs/module-formats.md)\n* [Production Workflows](docs/production-workflows.md)\n* [Configuration API](docs/config-api.md)\n* [System API](docs/system-api.md)\n* [Plugins](docs/plugins.md)\n* [Creating Plugins](docs/creating-plugins.md)\n* [Production Build and Resolution](docs/production-build.md)\n\nBasic Use\n---\n\n### Browser Development\n\n```html\n<script src=\"systemjs/dist/system.js\"></script>\n<script>\n  SystemJS.import('/js/main.js');\n</script>\n```\n\nThe above will support loading all module formats.\n\n**To load ES6 code with in-browser transpilation, one of the following transpiler plugins must be configured**:\n\n* [Babel](https://github.com/systemjs/plugin-babel)\n* [TypeScript](https://github.com/frankwallis/plugin-typescript)\n* [Traceur](http://github.com/systemjs/plugin-traceur)\n\n### Browser Production\n\nWhen all modules are available as either `system`, `amd` or global module formats, and no package configurations or plugins are needed, a production-only loader can be used:\n\n```html\n<script src=\"systemjs/dist/system-production.js\"></script>\n<script>\n  SystemJS.import('/js/main.js');\n</script>\n```\n\nConfiguration support in the production loader includes baseURL, paths, map, depCache and wasm.\n\n### NodeJS\n\nTo load modules in NodeJS, install SystemJS with:\n\n```\n  npm install systemjs\n```\n\nIf transpiling ES modules, install the transpiler plugin following the instructions from the transpiler project page.\n\nWe can then load modules equivalently in NodeJS as we do in the browser:\n\n```javascript\nvar SystemJS = require('systemjs');\n\n// loads './app.js' from the current directory\nSystemJS.import('./app.js').then(function (m) {\n  console.log(m);\n});\n```\n\nTo import a module with the NodeJS module resolution, import with `import moduleName from '@node/module-name'`.\n\n#### Running the tests\n\n```\n  npm run build && npm run test\n```\n\nLicense\n---\n\nMIT\n\n[travis-url]: https://travis-ci.org/systemjs/systemjs\n[travis-image]: https://travis-ci.org/systemjs/systemjs.svg?branch=master\n","readmeFilename":"README.md"}