{"_id":"@everapi/freecurrencyapi-js","_rev":"1-16fc8f926d7622b3fed7d3a65cd3cbd8","name":"@everapi/freecurrencyapi-js","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@everapi/freecurrencyapi-js","version":"1.0.0","description":"A JavaScript wrapper for the freecurrencyapi.com's API","main":"index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/everapihq/freecurrencyapi-js.git"},"keywords":["freecurrencyapi","api","fx api","exchange rates API","rates API","currency API","exchange rates","free currency API"],"author":{"name":"Dominik Kukacka"},"bugs":{"url":"https://github.com/everapihq/freecurrencyapi-js/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/everapihq/freecurrencyapi-js#readme","license":"MIT","gitHead":"ca4272639ba72edbb6c63060cba79b62b581fdcc","_id":"@everapi/freecurrencyapi-js@1.0.0","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-dECu9YOXwJd0VU6LIkVMXOaZAnzDeb8tiFh/f0an2KoUrlwibB8Kjsiqo1mlRuHhKb4R6mUgMeAnjQV+07bDew==","shasum":"ee7887f50a97dd30cbe4d98c7bd0332820440b7e","tarball":"https://registry.npmjs.org/@everapi/freecurrencyapi-js/-/freecurrencyapi-js-1.0.0.tgz","fileCount":4,"unpackedSize":4275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjvn75NFpYJdU3/efTMqmbFRtjoKS822135Xa7Uxo4rQIgQIkO6ws3Y1dWZqvdM/hPFUgSZLjg0APu7jEeln3NSp8="}]},"_npmUser":{"name":"everapi-user","email":"office@everapi.com"},"directories":{},"maintainers":[{"name":"everapi-user","email":"office@everapi.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/freecurrencyapi-js_1.0.0_1685523386735_0.5898246414329007"},"_hasShrinkwrap":false},"1.0.1":{"name":"@everapi/freecurrencyapi-js","version":"1.0.1","description":"A JavaScript wrapper for the freecurrencyapi.com's API","main":"index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/everapihq/freecurrencyapi-js.git"},"keywords":["freecurrencyapi","api","fx api","exchange rates API","rates API","currency API","exchange rates","free currency API"],"author":{"name":"Dominik Kukacka"},"bugs":{"url":"https://github.com/everapihq/freecurrencyapi-js/issues"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/everapihq/freecurrencyapi-js#readme","license":"MIT","gitHead":"699de876040e9d828580c678db14bbf3649d3b0a","_id":"@everapi/freecurrencyapi-js@1.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-GusI6Fdu4gEZhEyOOZKf9KOnSp3Atb3zLUQIp0X569LphBEv0IrZF2CALmbTmut4DacqqlP2zOpeS96bkAt2yQ==","shasum":"efdb8371a612c86b1ea69fba58efe6a8eb838bd1","tarball":"https://registry.npmjs.org/@everapi/freecurrencyapi-js/-/freecurrencyapi-js-1.0.1.tgz","fileCount":4,"unpackedSize":4285,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZMLn/Bk+nda0uveNspToJaquY3wBfAcbBYTjbhJff1AIgHI599LdvUC2hccCvVI+/VfUIPfSpRkwcpkmPma50x2k="}]},"_npmUser":{"name":"everapi-user","email":"office@everapi.com"},"directories":{},"maintainers":[{"name":"everapi-user","email":"office@everapi.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/freecurrencyapi-js_1.0.1_1690362968943_0.8956932145503127"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-31T08:56:26.634Z","1.0.0":"2023-05-31T08:56:26.897Z","modified":"2023-07-26T09:16:09.291Z","1.0.1":"2023-07-26T09:16:09.103Z"},"maintainers":[{"name":"everapi-user","email":"office@everapi.com"}],"description":"A JavaScript wrapper for the freecurrencyapi.com's API","homepage":"https://github.com/everapihq/freecurrencyapi-js#readme","keywords":["freecurrencyapi","api","fx api","exchange rates API","rates API","currency API","exchange rates","free currency API"],"repository":{"type":"git","url":"git+https://github.com/everapihq/freecurrencyapi-js.git"},"author":{"name":"Dominik Kukacka"},"bugs":{"url":"https://github.com/everapihq/freecurrencyapi-js/issues"},"license":"MIT","readme":"<p align=\"center\">\n<img src=\"https://app.freecurrencyapi.com/img/logo/freecurrencyapi.png\" width=\"300\"/>\n</p>\n\n# freecurrencyapi-js: JS Currency Converter\nFreecurrencyapi.com is a free currency API that provides realtime & historic data.\nThis package is a JavaScript wrapper for [freecurrencyapi.com](https://freecurrencyapi.com) that aims to make the usage of the API as easy as possible in your project.\n\n## Installation\n\n### npm\n```shell\nnpm install --save @everapi/freecurrencyapi-js\n```\n### yarn\n```shell\nyarn add @everapi/freecurrencyapi-js\n```\n\n## Import\n\n```js\nimport Freecurrencyapi from '@everapi/freecurrencyapi-js';\n```\n\nor use it directly in a Browser:\n\n```html\n<script src=\"path/to/freecurrencyapi-js/index.js\"></script>\n```\n\n## Usage\n\nInitialize the API with your API Key (get one for free at [freecurrencyapi.com](https://freecurrencyapi.com)):\n\n```js\nconst freecurrencyapi = new Freecurrencyapi('YOUR-API-KEY');\n```\n\nAfterwards you can make calls to the API like this:\n\n```js\nfreecurrencyapi.latest({\n        base_currency: 'USD',\n        currencies: 'EUR'\n    }).then(response => {\n        console.log(response);\n    });\n```\n\nEndpoints accessible with a free account:\n- `status`\n- `currencies`\n- `latest`\n- `historical`\n\nFind out more about our endpoints, parameters and response data structure in the [docs](https://freecurrencyapi.com/docs)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[docs]: https://freecurrencyapi.com/docs\n[freecurrencyapi.com]: https://freecurrencyapi.com\n","readmeFilename":"README.md"}