{"_id":"@aex/body","_rev":"1-8ec0164f568833f5a8a64a7657db9a6f","name":"@aex/body","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aex/body","version":"0.1.0","description":"body","license":"MIT","repository":"","author":"","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/body-parser":"^1.17.1","body-parser":"^1.19.0"},"devDependencies":{"@aex/core":"^0.4.0","@types/jest":"^23.3.3","@types/node":"^13.1.4","@types/request-promise":"^4.1.45","coveralls":"^3.0.2","jest":"^23.6.0","prettier":"^1.14.3","request":"^2.88.0","request-promise":"^4.2.5","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"},"_id":"@aex/body@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-P4o1ly0spqXWnvrIItm2KsuBNgY3MfeBa0ZOIG/ha1sXrAAqkgCLUBKfTveJIYjm7UPtSCGHzptTbsOHWDYMCA==","shasum":"1bb4b7c0d78b0617f16c5bcf7984cd064378a00c","tarball":"https://registry.npmjs.org/@aex/body/-/body-0.1.0.tgz","fileCount":5,"unpackedSize":7046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEvVSCRA9TVsSAnZWagAALXsQAKMyt26wlNrW25o+9ho2\n1KNN8Yv0VIkyPiFOwNIl6CHSaWAqLOxTsfX513eB1KwUvF2TR53jB+QFf/1L\n4hCtWr2PEaionMEp9/uiwNDxib8OAJcGNz2y+NBOs19gF+YdCy+Vb6SZ6wSV\nrIKf/b4u9m9ZQKY0EtlsNIOc1I0rbAinQYP0UJJQjm1BA77QXwCbxKcL2AE8\nYS//nJBpKMrTz0dx4462ik2/RRu6JS2zH3xN+I8WoTJcZ++vP2dLJL+XOI8N\nYA7hIwA4j+vsSa+xSkfoNTxNLHeOx3qL9sm17OYiekgadkROoh7Qex0YdTEm\noa5bESnMBfe0BjG2Cxnahjpy7i1H0Iyi1OWm6btydT9g0jq6R31kBe+4TjZO\n1kT8RNRPN8ivJrtEsXwwcvyxeKEURzvtJFhnCFkZXk3GnbAAIbuYUHmE1eCr\nF43gUL1qwO5v9C0FcBVG9+1ZLtq5sNdE3TJ9i0luduwmikPmoXDO1lx8T29t\njUIcJ6X2Tes2jDG5rtOMcPCvIdSiOpE6g/KPb6pILVOCe5M/oH6qmsBCMmNU\nD8TV7oD9ULejjaSPStLika61NsnV8wSTxfw667sZbkhcHQZGy81XgvfOo7l1\nUNVu5VUTTm9pt8RB8JKanB7pRgGqHYoexOUP5GwwO2EHH2ZRjldG303V0plV\nP6Zw\r\n=2lBU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEpa4SXktg9pMNjShncTRB5oMyJ2R+qOIvRsSuoHqLCcAiA0oT10RGXCrXFbS4SLTf2qm9nI7nF1hGKaguupvQkUKA=="}]},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"_npmUser":{"name":"calidion","email":"calidion@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/body_0.1.0_1578300753675_0.4897925209034839"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-06T08:52:33.432Z","0.1.0":"2020-01-06T08:52:33.887Z","modified":"2022-04-04T11:49:58.658Z"},"maintainers":[{"name":"calidion","email":"calidion@gmail.com"}],"description":"body","keywords":[],"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"}