{"_id":"@allan.pereira.dev/epicgames","name":"@allan.pereira.dev/epicgames","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@allan.pereira.dev/epicgames","version":"1.0.0","main":"dist/lib/main.js","types":"dist/lib/index.d.ts","scripts":{"clean":"rimraf ./dist","build":"npm run clean && tsc"},"keywords":[],"author":{"name":"CodeByAllan"},"license":"MIT","description":"EpicGames is a minimalist scraper that returns the free games of the week","devDependencies":{"@types/node":"^20.13.0","@typescript-eslint/eslint-plugin":"^7.11.0","@typescript-eslint/parser":"^7.11.0","dotenv":"^16.4.5","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","prettier":"^3.2.5","rimraf":"^5.0.7","ts-node-dev":"^2.0.0","typescript":"^5.4.5"},"dependencies":{"axios":"^1.7.2"},"repository":{"type":"git","url":"git+https://github.com/CodeByAllan/EpicGames-lib.git"},"bugs":{"url":"https://github.com/CodeByAllan/EpicGames-lib/issues"},"homepage":"https://github.com/CodeByAllan/EpicGames-lib#readme","_id":"@allan.pereira.dev/epicgames@1.0.0","_nodeVersion":"20.13.1","_npmVersion":"10.8.0","dist":{"integrity":"sha512-rd1s5IY/TBzUKaAk2qFU4JtdvabY08Iag9kO9oeK+oKdSNr+vXvvoC++cXofbaztCIEPzaSs96oZh7/HdaPBFg==","shasum":"baa5f442470ec3ec9535b32cab6161508bbf6879","tarball":"https://registry.npmjs.org/@allan.pereira.dev/epicgames/-/epicgames-1.0.0.tgz","fileCount":28,"unpackedSize":14218,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjT+VP6iVSKVtwCGXgIHgUWKCzYCDCk9R53kFYJ5LxRAiBQHUt06xE+PacK9l/QBvrA+5uF5F1rv0lhBt2ckXgi2Q=="}]},"_npmUser":{"name":"allan.pereira.dev","email":"allan.pereira.dev@gmail.com"},"directories":{},"maintainers":[{"name":"allan.pereira.dev","email":"allan.pereira.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/epicgames_1.0.0_1717365129070_0.7516193819953814"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-02T21:52:08.985Z","1.0.0":"2024-06-02T21:52:09.221Z","modified":"2024-06-02T21:52:09.457Z"},"maintainers":[{"name":"allan.pereira.dev","email":"allan.pereira.dev@gmail.com"}],"description":"EpicGames is a minimalist scraper that returns the free games of the week","homepage":"https://github.com/CodeByAllan/EpicGames-lib#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/CodeByAllan/EpicGames-lib.git"},"author":{"name":"CodeByAllan"},"bugs":{"url":"https://github.com/CodeByAllan/EpicGames-lib/issues"},"license":"MIT","readme":"# EpicGames\r\n\r\nEpicGames is a minimalist scraper that returns the free games of the week\r\n\r\n## Install\r\n\r\nInstall EpicGames with npm\r\n\r\n```bash\r\n  npm install @allan.pereira.dev/epicgames\r\n```\r\n\r\n## Usage/Examples\r\n\r\n```javascript\r\nimport { EpicGames } from '@allan.pereira.dev/epicgames';\r\nconst epicGames = new EpicGames();\r\nepicGames\r\n  .FreeGames({ language: 'pt-BR', countryCode: 'BR' })\r\n  .then((res) => console.log(res));\r\n```\r\n\r\n## Output\r\n\r\n```\r\n[\r\n  ResultMapper {\r\n    data: {\r\n      title: 'example',\r\n      description: '...',\r\n      id: '...',\r\n      isCodeRedemptionOnly: true,\r\n      namespace: '...',\r\n      keyImages: [],\r\n      price: [],\r\n      offerMappings: [],\r\n      productSlug: 'example'\r\n    }\r\n  }\r\n]\r\n```\r\n\r\n## License\r\n\r\n[MIT](https://github.com/CodeByAllan/EpicGames-lib/blob/master/LICENSE.md)\r\n\r\n## Autores\r\n\r\n- [@codebyallan](https://github.com/CodeByAllan)\r\n","readmeFilename":"README.md"}