{"_id":"@aex/loader","_rev":"3-fbeb5e9cb2ad06051aeb87c09479ccba","name":"@aex/loader","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@aex/loader","version":"0.1.0","description":"Aex loader","license":"MIT","repository":{"type":"git","url":"git+https://github.com/aex-ts-node/loader.git"},"author":{"name":"calidion","email":"calidion@gmail.com","url":"https://calidion.github.io"},"keywords":[],"main":"lib/index","types":"lib/index","scripts":{"clean":"rimraf lib && rimraf coverage","format":"prettier --write \"{src,__tests__}/**/*.ts\" --single-quote --trailing-comma es5","lint":"tslint --force --format verbose \"src/**/*.ts\"","prepublishOnly":"npm run build","prebuild":"npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version","build":"tsc --pretty","test":"jest --coverage","coverage":"jest --coverage","watch":"npm run build -- --watch","watch:test":"jest --watch"},"dependencies":{},"devDependencies":{"@types/jest":"^23.3.3","@types/node":"^10.11.4","coveralls":"^3.0.2","jest":"^23.6.0","prettier":"^1.14.3","rimraf":"^2.6.2","ts-jest":"^23.10.3","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","typescript":"^3.1.1"},"engines":{"node":">=10.0.0"},"jest":{"preset":"ts-jest"},"gitHead":"0c2995ccdcbaf88e3cd2111b6ffa51035aeb94d4","bugs":{"url":"https://github.com/aex-ts-node/loader/issues"},"homepage":"https://github.com/aex-ts-node/loader#readme","_id":"@aex/loader@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-H6uLbVZVsWuJKVhbei05PlApWx2ugMYd5wH9XCWtrSi/0F8p3dp6WQqpBxU48GiPCoe023nFxmUYNs2pGd5sRQ==","shasum":"fd04ae167c0ba62214d597d6eeb1ea28205a8f7f","tarball":"https://registry.npmjs.org/@aex/loader/-/loader-0.1.0.tgz","fileCount":7,"unpackedSize":13334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeB4TCCRA9TVsSAnZWagAAF4kP/2IjxNUpcC1VoL1SQ+Np\nRfKQY1AbIYJMM6lQQJWyxLPhtbT52+15L84iLWR6ZVXLEz0Kk5x73Ljr8J7X\nLL2ifID1LN/5xvzXlWKmXfRPrQJ4nTyVvKONhYVF8E21Dw4YAHkVLUdfMHrh\nYRH5vuTPMmGWOA5gezOj6TlFo3cPVhX613kzM5jhQ5N73/MiIsz5K/HtmvgG\nGAOQwc34xTFkIsBmuwtfAgAcl1pn+34cP0L/g2kSvph9ahPjZX7yvvWnMyQW\nyVt84UZeNSfc1dOMqE9fckk9/sESQaSZtb/FZOSmzXwP2YTnowNahZoyuEc6\nx9FzRUMyKKFAbuY8+bgCcuF3KISGouXephL3ce4IgflCwlYCUikmb6l4BaM8\ns8Sqqu/iI0n11b3HlmVH4qafjunL6TAq4hGCABx8vG/ctoi7ord/+/bSs3JF\nbRLyP/xZI9ySRj58q5lY3N40lJztGnJdeAab+IKRYm9Sxg9McKzKma+/9UaA\n27gIyS6Nm1z8NV/35b3uKqhy8GeN92AViHWdOUZ50+aIu6nCnhPEaoQoLR0y\niLtfOxwEH0JFpsiOP4vI59ntG8lSGY7+OUUdNHM5osp3GJD3UuVa5lVe8ijT\niat7TKv3B/C6xlwBxCJ5uLIQCPdREktHwAtda988vlZCGuheTSud/qKL1jzY\nHTT+\r\n=UsV9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd8AAbXgu8NgBmzWGbpwTwsdMNiRIOYnT/ZAN6A6V+RgIhAKcB4mywyvqupV4m/3jBjh7QxYC8wxVbO8R1HecDHCxn"}]},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"_npmUser":{"name":"calidion","email":"calidion@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_0.1.0_1577551041851_0.8954453191991889"},"_hasShrinkwrap":false},"0.2.0":{"name":"@aex/loader","version":"0.2.0","description":"Aex loader","license":"MIT","repository":{"type":"git","url":"git+https://github.com/aex-ts-node/loader.git"},"author":{"name":"calidion","email":"calidion@gmail.com","url":"https://calidion.github.io"},"keywords":[],"main":"lib/index","types":"lib/index","scripts":{"clean":"rimraf lib && rimraf coverage","format":"prettier --write \"{src,__tests__}/**/*.ts\" --trailing-comma es5","lint":"tslint --force --format verbose \"src/**/*.ts\"","prepublishOnly":"npm run build","prebuild":"npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version","build":"tsc --pretty","test":"jest --coverage","coverage":"jest --coverage","watch":"npm run build -- --watch","watch:test":"jest --watch"},"dependencies":{"@types/callsite":"^1.0.30","callsite":"^1.0.0"},"devDependencies":{"@types/jest":"^23.3.3","@types/node":"^10.11.4","coveralls":"^3.0.2","jest":"^23.6.0","prettier":"^1.14.3","rimraf":"^2.6.2","ts-jest":"^23.10.3","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","typescript":"^3.1.1"},"engines":{"node":">=10.0.0"},"jest":{"preset":"ts-jest"},"gitHead":"742b5de51dd505b5346002f9a39376d26ac83140","bugs":{"url":"https://github.com/aex-ts-node/loader/issues"},"homepage":"https://github.com/aex-ts-node/loader#readme","_id":"@aex/loader@0.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-DbF3cHj3RO90PxlzTzv7009ORDbUJdN4E9u9ndRiCppa2GMihej7ij31b0adI5QkL/9s6tB83gQ6hmiFkP5ZoQ==","shasum":"b709598ba6dbf9b21881fe0bfce0568035c6401a","tarball":"https://registry.npmjs.org/@aex/loader/-/loader-0.2.0.tgz","fileCount":7,"unpackedSize":15318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEcceCRA9TVsSAnZWagAAHZUP/RhceKgBUHh3/jpSho80\ncigHhchtfO/w4ZqRa8POCA+O2Oo9TFHW7+BLslAHDV7mjKermdGYn25myYQA\n9VtCheW/kBaAYst9mAfAiCHUyQFMIuKNl2Qh2SfHZ8Q5Ab9uMKMtlujk1dIc\n9/dE4nix9NbYSkZYfeCd5jh2p6CIZ5ullJdNj+fBeVHQv6RgPDmFYQ9ESX65\neE+pcko1Ny7Ct+CYE8FxSPNwTVlom0J/S5NASYg/JjhSCcOvbPIIJN+3q+JP\n4F7aTvuaMlE4hclrBapKLaqKKziLMzHb2JEUaOEgK/vp8aNh+U9HMrxZZVHR\nvRnI8n4ZNXU4/d9sGSwLniPW+OX0CrT6YbjQ+Ci0TWTwoazk77l9XzMEUpYq\n1bNrge4KKHFFfBlchYmD1GDIPSsibj9ZPDivJIYmmWM02opdMvsT513xicXE\n/k6nNYLwfJvWUOBPYXbn/DAcLkGcR0OxOh26ijMByTOhhVolIWFkYnURybHz\nhL5uwvtkfQNZBkVcTk/O60IWTUAlpbl48hEY+RTvbOOugDZvmW2ZTibH3ctl\nK6DS0evVBGiqfFWJLC+U9vodpop7pbBwzciCAqBNZrnUMYWbUooeOZE9dcRZ\nep+triq5Lop/3Q/qEtqJBuoXz7j+EGl1s0g111gYG/KCY8xM9f3UNQQ4qtBx\n6w03\r\n=lfLI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLeW5LK7MZyCTsfoiDHuW2h7SLJjdfUGkrplgG/Nq5GQIhAKCFN+/iyA3N/hWbkUmiNAmRpG4kj7OOrhCwssj5ZAR2"}]},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"_npmUser":{"name":"calidion","email":"calidion@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_0.2.0_1578223390368_0.39456172292791214"},"_hasShrinkwrap":false},"0.2.1":{"name":"@aex/loader","version":"0.2.1","description":"Aex loader","license":"MIT","repository":{"type":"git","url":"git+https://github.com/aex-ts-node/loader.git"},"author":{"name":"calidion","email":"calidion@gmail.com","url":"https://calidion.github.io"},"keywords":[],"main":"lib/index","types":"lib/index","scripts":{"clean":"rimraf lib && rimraf coverage","format":"prettier --write \"{src,__tests__}/**/*.ts\" --trailing-comma es5","lint":"tslint --force --format verbose \"src/**/*.ts\"","prepublishOnly":"npm run build","prebuild":"npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version","build":"tsc --pretty","test":"jest --coverage","coverage":"jest --coverage","watch":"npm run build -- --watch","watch:test":"jest --watch"},"dependencies":{"@types/callsite":"^1.0.30","callsite":"^1.0.0"},"devDependencies":{"@types/jest":"^23.3.3","@types/node":"^10.11.4","coveralls":"^3.0.2","jest":"^23.6.0","prettier":"^1.14.3","rimraf":"^2.6.2","ts-jest":"^23.10.3","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","typescript":"^3.1.1"},"engines":{"node":">=10.0.0"},"jest":{"preset":"ts-jest"},"gitHead":"7af2f1287d5e4b96e91eb8cb6bf1b0b83fce339a","bugs":{"url":"https://github.com/aex-ts-node/loader/issues"},"homepage":"https://github.com/aex-ts-node/loader#readme","_id":"@aex/loader@0.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-AJFK096Sfi5Sc5O4kUi/jc/liwmpWxQCFdvJM6M9Yr+mX7NYO5RjqPSceZNN4ekLVx5V5W/F9ncHzZBW5lS16Q==","shasum":"92d2b43013c07a18eca781cb18c655284b04a9e6","tarball":"https://registry.npmjs.org/@aex/loader/-/loader-0.2.1.tgz","fileCount":7,"unpackedSize":15501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEdQjCRA9TVsSAnZWagAAQrsP/AoYrc0uN7ic1TtEdjx8\n4ojLiM+WfVMMxIibMFQ+mYgQzFjlvsIXQ/C/CzwUIBGmpeSpdDLHNSy/hFLJ\nLWvPt/93wV6Qj5KrVa6KCYX19JqcjXaeEX22Z0gjmUgmvPdNPgz5zQGNrnCr\nPSh/i0oa2ougv/+dagr57bEZH9LOBj/ftQzmykjAzEzFnf15bcJNySfXN9ji\nhqPQyixO2oA1XPJN4UNeZLHZusNJXfh8SnGoyBHAFLRJT2T2IjOJLu2an3Y0\ncQRdaioh9XWDFU8E11MDu+taRqGR2iiO5ibh8pw281SdcKpnZYPOuJ4Ghrch\n6XOhijIjt+3FwlvnWpCVdWOETlLU4aIDix657LiUDxI1cR4dib17QPYQ8e1r\nmMTtvNM0Pb2u25TDoct6KFVcjx56pUy4s+e+MGX1DqxHDAEgPjKqSHjpYp7o\n0qV9nbUGRUxjbzaHNPMiBkGHKCQmcOSpYAowLXD9T4v6zKmVL1UsJI2X0NaM\nLI/RUvA0b162M3dfNl/KBATWxQEUUGVmaJ3BCqj4roxTXCGthnSNlNG0QtKw\nrxlIT0TgG2Rus97bmMXGaENClOC6e6W8uAsztqMZe+vZiwcuRwT9QwHIGgZX\ngzrOEYLM3CRpXENp7pQDwS6+uqZrA7t+a/sF4cl8xf8fJGA50XTl0EBbGZCj\nxbR5\r\n=7bX/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHd4drQrambL/AsXIVILe2EvvlB4gvXo/V2NR72QE7wAiB8NdWFZUAFhnvGmpY8LX+kFi+ew7sONy+f/dk5WE6f1w=="}]},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"_npmUser":{"name":"calidion","email":"calidion@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loader_0.2.1_1578226723206_0.3244122712860529"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-28T16:37:21.619Z","0.1.0":"2019-12-28T16:37:22.005Z","modified":"2022-04-04T11:49:59.233Z","0.2.0":"2020-01-05T11:23:10.473Z","0.2.1":"2020-01-05T12:18:43.438Z"},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"description":"Aex loader","homepage":"https://github.com/aex-ts-node/loader#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/aex-ts-node/loader.git"},"author":{"name":"calidion","email":"calidion@gmail.com","url":"https://calidion.github.io"},"bugs":{"url":"https://github.com/aex-ts-node/loader/issues"},"license":"MIT","readme":"[![Build Status](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)](https://travis-ci.org/{{github-user-name}}/{{github-app-name}}.svg?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/{{github-user-name}}/{{github-app-name}}/badge.svg?branch=master)](https://coveralls.io/github/{{github-user-name}}/{{github-app-name}}?branch=master)\n[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n# Using this module in other modules\n\nHere is a quick example of how this module can be used in other modules. The [TypeScript Module Resolution Logic](https://www.typescriptlang.org/docs/handbook/module-resolution.html) makes it quite easy. The file `src/index.ts` is a [barrel](https://basarat.gitbooks.io/typescript/content/docs/tips/barrel.html) that re-exports selected exports from other files. The _package.json_ file contains `main` attribute that points to the generated `lib/index.js` file and `typings` attribute that points to the generated `lib/index.d.ts` file.\n\n> If you are planning to have code in multiple files (which is quite natural for a NodeJS module) that users can import, make sure you update `src/index.ts` file appropriately.\n\nNow assuming you have published this amazing module to _npm_ with the name `my-amazing-lib`, and installed it in the module in which you need it -\n\n- To use the `Greeter` class in a TypeScript file -\n\n```ts\nimport { Greeter } from \"my-amazing-lib\";\n\nconst greeter = new Greeter(\"World!\");\ngreeter.greet();\n```\n\n- To use the `Greeter` class in a JavaScript file -\n\n```js\nconst Greeter = require('my-amazing-lib').Greeter;\n\nconst greeter = new Greeter('World!');\ngreeter.greet();\n```\n\n## Setting travis and coveralls badges\n1. Sign in to [travis](https://travis-ci.org/) and activate the build for your project.\n2. Sign in to [coveralls](https://coveralls.io/) and activate the build for your project.\n3. Replace {{github-user-name}}/{{github-app-name}} with your repo details like: \"ospatil/generator-node-typescript\".\n","readmeFilename":"README.md"}