{"_id":"@filestack/loader","_rev":"398447","name":"@filestack/loader","description":"Dependency free js async script loader for browsers maintained by @Filestack","dist-tags":{"beta":"2.0.0-beta.0","latest":"1.0.9"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"time":{"modified":"2026-04-07T22:31:50.000Z","created":"2020-03-19T07:03:46.680Z","2.0.0-beta.0":"2024-11-22T09:40:27.199Z","1.0.9":"2021-03-25T09:58:55.356Z","1.0.8":"2020-10-05T09:22:38.080Z","1.0.7":"2020-03-25T10:49:39.802Z","1.0.6":"2020-03-25T10:34:52.281Z","1.0.5":"2020-03-25T10:21:05.940Z","1.0.4":"2020-03-19T13:15:20.259Z","1.0.3":"2020-03-19T12:03:42.393Z","1.0.2":"2020-03-19T11:16:44.546Z","1.0.1":"2020-03-19T07:03:46.680Z"},"users":{},"author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"versions":{"2.0.0-beta.0":{"name":"@filestack/loader","version":"2.0.0-beta.0","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"readmeFilename":"README.md","gitHead":"7c8c31858b83368a2767ee2aff4dd2bb2d9c84b9","_id":"@filestack/loader@2.0.0-beta.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"1b4d66fc213628868c894d7ed1a9413b51fdcb7f","size":43286,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-2.0.0-beta.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-2.0.0-beta.0.tgz"},"_npmUser":{"name":"filestack-dev","email":"dev@filestack.com"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_2.0.0-beta.0_1732268426995_0.601358172816562"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-22T09:40:27.199Z","publish_time":1732268427199,"_source_registry_name":"default","_cnpm_publish_time":1732268427199},"1.0.9":{"name":"@filestack/loader","version":"1.0.9","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"1621c2d23e6eca895f3c1688cbe573965e16a42b","_id":"@filestack/loader@1.0.9","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"eaab7e6536a41c8fd1e918ba064e24fd7a12bb32","size":47468,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.9.tgz"},"_npmUser":{"name":"filestack-dev","email":"dev@filestack.com"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.9_1616666335164_0.45452774866787005"},"_hasShrinkwrap":false,"publish_time":1616666335356,"_cnpm_publish_time":1616666335356},"1.0.8":{"name":"@filestack/loader","version":"1.0.8","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"8e1425ea79063b7c408a063bcb1d5b812cf4c8ef","_id":"@filestack/loader@1.0.8","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"shasum":"65a5f30294c3f727291551ceb562558123f78aa8","size":43841,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.8.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.8_1601889757967_0.5688172276481747"},"_hasShrinkwrap":false,"publish_time":1601889758080,"_cnpm_publish_time":1601889758080},"1.0.7":{"name":"@filestack/loader","version":"1.0.7","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"173d993b50fd7c9f140f67ae86e03550b01871fd","_id":"@filestack/loader@1.0.7","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"4aa4efec6d22ffa7de582267747f07ff8fa3378a","size":46295,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.7.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.7_1585133379716_0.2314035398480052"},"_hasShrinkwrap":false,"publish_time":1585133379802,"_cnpm_publish_time":1585133379802},"1.0.6":{"name":"@filestack/loader","version":"1.0.6","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"6b0537acbd67216077ca863c5849dfd9b9d00129","_id":"@filestack/loader@1.0.6","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"95f773c159733473d1647ab8297fa6f74f7d41d5","size":46698,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.6.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.6_1585132491833_0.09102562372038325"},"_hasShrinkwrap":false,"publish_time":1585132492281,"_cnpm_publish_time":1585132492281},"1.0.5":{"name":"@filestack/loader","version":"1.0.5","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"97c9972bebc84cef824f2c2522e2baac80dba4e3","_id":"@filestack/loader@1.0.5","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"04a2451e9ca36542710440534cef5c627df0e0ae","size":44894,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.5.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.5_1585131665812_0.4248803069909888"},"_hasShrinkwrap":false,"publish_time":1585131665940,"_cnpm_publish_time":1585131665940},"1.0.4":{"name":"@filestack/loader","version":"1.0.4","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/module/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npm run build:main && npm run build:module && npx webpack","build:main":"npx tsc --p tsconfig.json","build:module":"npx tsc --p tsconfig.module.json","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"6f032b5c03f96f3b5009d33271537d38720d6104","_id":"@filestack/loader@1.0.4","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"07d05544be32cae28957b549c37ec1bbe265bff7","size":43952,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.4.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.4_1584623720091_0.534869059736395"},"_hasShrinkwrap":false,"publish_time":1584623720259,"_cnpm_publish_time":1584623720259},"1.0.3":{"name":"@filestack/loader","version":"1.0.3","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","module":"dist/index.js","browser":"dist/index.esm.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","source":"src/index.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npx tsc && npx webpack","release":"npx standard-version","prepublish":"npm run build"},"dependencies":{},"devDependencies":{"@purtuga/esm-webpack-plugin":"^1.2.1","prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"5db779ee64ad262b8e06201b99b4d8ce959c349f","_id":"@filestack/loader@1.0.3","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"903a60494698c5e6e94a4fa9e438d19a3b884c93","size":35694,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.3.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.3_1584619422253_0.11786527341945408"},"_hasShrinkwrap":false,"publish_time":1584619422393,"_cnpm_publish_time":1584619422393},"1.0.2":{"name":"@filestack/loader","version":"1.0.2","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","browser":"dist/index.umd.js","types":"dist/index.d.ts","source":"src/index.ts","author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npx tsc && npx webpack","release":"npx standard-version"},"dependencies":{},"devDependencies":{"prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"Dependency free js async script loader for browsers maintained by @Filestack","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"b239fc4a203243de742167b22cde9cd1e5d6ed3c","_id":"@filestack/loader@1.0.2","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"5d9a68b5439cbb7ed0eb573990319492c36561e3","size":21282,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.2.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.2_1584616604436_0.4437956220584094"},"_hasShrinkwrap":false,"publish_time":1584616604546,"_cnpm_publish_time":1584616604546},"1.0.1":{"name":"@filestack/loader","version":"1.0.1","license":"SEE LICENSE IN LICENSE","main":"dist/index.js","browser":"dist/index.umd.js","types":"dist/index.d.ts","source":"src/index.ts","private":false,"author":{"name":"PCholuj","email":"piotr.choluj@filestack.com"},"homepage":"https://github.com/filestack/filestack-loader-js","repository":{"type":"git","url":"git+ssh://git@github.com/filestack/filestack-loader-js.git"},"scripts":{"build":"npx tsc && npx webpack","release":"npx standard-version"},"dependencies":{},"devDependencies":{"prettier":"^1.19.1","standard-version":"^7.1.0","tslint":"^6.1.0","tslint-config-prettier":"^1.18.0","typescript":"^3.8.3","webpack":"^4.42.0","webpack-cli":"^3.3.11"},"description":"<p align=\"center\">   <a href=\"https://www.filestack.com\"><img src=\"https://static.filestackapi.com/filestack-js.svg?refresh\" align=\"center\" width=\"250\" /></a>   </p> <p align=\"center\">   <strong>Dependency free js async script loader for browsers maintain","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"directories":{"lib":"lib"},"gitHead":"f7f8597c6d7bc85c22bbbd505d3c550c43d1a173","_id":"@filestack/loader@1.0.1","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"shasum":"ca876c3f84ecc038c27af298ba233c5502ef3183","size":16599,"noattachment":false,"key":"/@filestack/loader/-/@filestack/loader-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@filestack/loader/download/@filestack/loader-1.0.1.tgz"},"maintainers":[{"name":"filestack-admin","email":"dev@filestack.com"},{"name":"filestack-dev","email":"dev@filestack.com"},{"name":"pcholuj","email":"pcholuj@gmail.com"},{"name":"promanski","email":""},{"name":"sebastian-wec","email":""}],"_npmUser":{"name":"pcholuj","email":"pcholuj@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_1.0.1_1584601426554_0.5254803927748513"},"_hasShrinkwrap":false,"publish_time":1584601426680,"_cnpm_publish_time":1584601426680}},"readme":"<p align=\"center\">\n  <a href=\"https://www.filestack.com\"><img src=\"https://static.filestackapi.com/filestack-js.svg?refresh\" align=\"center\" width=\"250\" /></a>  \n</p>\n<p align=\"center\">\n  <strong>Dependency free js async script loader for browsers maintained by @Filestack</strong>\n</p>\n\n## Installation\n\n```\nnpm install @filestack/loader\n```\n\n## Usage\n\n### Loading JavaScript Modules\n\nTo load async modules just call method loadModule\n\n```js\nimport { loadModule } from '@filestack/loader';\n\nloadModule('module-id', 'url/to/b.js').then((b) => {\n  b.helloWorld();\n});\n```\n\n```js\nYou can register some metadata after module will be loaded with register module\n\nimport { registerModule } from '@filestack/loader';\n\nconst api = {\n  helloWorld() {\n    console.log('Hello world!');\n  },\n};\n\n// Module need to \"tell\" the loader that it's loaded and ready.\nregisterModule('module-id', api, { version: 123 });\n```\n\n### Loading CSS\n\n```js\nimport { loadCss } from '@filestack/loader';\n\nloadCss('url/to/style.css').then(() => {\n  console.log('Style loaded!');\n});\n```\n\n# Development\n\n## Setup\n\n```\nnpm install\n```\n\n## Testing\n\n### Unit\n\n```\nnpm test\n```\nThis command opens in the browser semi-manual tests. Those tests don't have watch, so you need to refire the command with each change.\n","_attachments":{},"homepage":"https://github.com/filestack/filestack-loader-js","bugs":{"url":"https://github.com/filestack/filestack-loader-js/issues"},"license":"SEE LICENSE IN LICENSE"}