{"_id":"@atharahmed/cryptomus","name":"@atharahmed/cryptomus","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@atharahmed/cryptomus","version":"0.3.0","description":"Node wrapper for cryptomus api","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"start":"node lib/index.js","build":"tsc","dev":"ts-node-dev --respawn src/index.ts","docs":"typedoc","test":"jest"},"repository":{"type":"git","url":"git+ssh://git@github.com/qweme32/cryptomus.git"},"keywords":["cryptomus","api","crypto","payment"],"author":{"name":"Qweme Dev"},"license":"MIT","bugs":{"url":"https://github.com/qweme32/cryptomus/issues"},"homepage":"https://github.com/qweme32/cryptomus#readme","devDependencies":{"@mxssfd/typedoc-theme":"^1.1.3","@types/jest":"^29.5.4","@types/uuid":"^9.0.3","dotenv":"^16.3.1","jest":"^29.6.4","ts-jest":"^29.1.1","ts-node-dev":"^2.0.0","typedoc":"^0.25.1","typescript":"^5.2.2"},"dependencies":{"axios":"^1.5.0","uuid":"^9.0.0"},"_id":"@atharahmed/cryptomus@0.3.0","gitHead":"1a9396a7a0ba86c74e19642cc921424e8406a673","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-rCIPU4BPse4WJ4rxs7D7QEMZKn1+gbKoAur00ncd6Nk5PB3MXdlzuX6gEpfyCUQ3MGs0lSIt8uKhKL31Gl7WbQ==","shasum":"06a4c51b3c69fe73a8f8c418efdc03a6d9b16b7c","tarball":"https://registry.npmjs.org/@atharahmed/cryptomus/-/cryptomus-0.3.0.tgz","fileCount":54,"unpackedSize":1089931,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDll3ph/eJEFcxSPTDQW9RCXe/8w3ZxvmbWXaxZ2CIJFQIhAONhh83HYblqdFOEmN7EnXg34twdA9gU+R521CFPy0WP"}]},"_npmUser":{"name":"atharahmed","email":"itsatharahmed@gmail.com"},"directories":{},"maintainers":[{"name":"atharahmed","email":"itsatharahmed@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cryptomus_0.3.0_1716440167131_0.06870170166235812"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-23T04:56:07.026Z","0.3.0":"2024-05-23T04:56:07.282Z","modified":"2024-05-23T04:56:07.557Z"},"maintainers":[{"name":"atharahmed","email":"itsatharahmed@gmail.com"}],"description":"Node wrapper for cryptomus api","homepage":"https://github.com/qweme32/cryptomus#readme","keywords":["cryptomus","api","crypto","payment"],"repository":{"type":"git","url":"git+ssh://git@github.com/qweme32/cryptomus.git"},"author":{"name":"Qweme Dev"},"bugs":{"url":"https://github.com/qweme32/cryptomus/issues"},"license":"MIT","readme":"<center><svg width=\"50%\" fill=\"none\" viewBox=\"0 0 234 48\"><path fill=\"currentColor\" d=\"M69.472 36.676c4.785 0 7.792-3.004 8.613-5.735l-3.896-1.57c-.581 2.048-2.29 3.448-4.614 3.448-2.905 0-5.16-2.185-5.16-5.53s2.255-5.53 5.126-5.53c2.324 0 3.964 1.4 4.545 3.482l3.896-1.536c-.82-2.799-3.828-5.803-8.51-5.803-5.433 0-9.398 4.096-9.398 9.421 0 5.325 4.033 9.353 9.398 9.353Zm15.283-16.384v-2.014h-4.1v17.988h4.34v-10.24c0-2.423 1.982-4.096 5.126-4.096v-4.062c-2.256 0-4.135.99-5.365 2.424Zm20.287-2.014-5.093 14.507-4.647-14.507h-4.478l6.357 17.988h1.367l-2.46 6.11h4.272l2.323-6.11 6.87-17.988h-4.511Zm16.732-.41c-2.563 0-4.647 1.024-6.049 2.765v-2.355h-4.032v24.098h4.34v-8.021c1.367 1.467 3.281 2.32 5.639 2.32 5.16 0 8.92-4.027 8.92-9.386 0-5.393-3.657-9.42-8.818-9.42Zm-.683 14.985c-3.11 0-5.229-2.287-5.229-5.564s2.119-5.564 5.229-5.564c2.973 0 5.16 2.355 5.16 5.564 0 3.174-2.187 5.564-5.16 5.564Zm20.226 3.413h2.837v-3.789h-1.982c-1.948 0-3.008-1.126-3.008-3.208v-7.27h4.853v-3.721h-4.716v-4.676h-4.238v2.833c0 1.228-.581 1.843-1.777 1.843h-1.64v3.72h3.144v7.749c0 3.96 2.221 6.52 6.527 6.52Zm13.632.41c5.605 0 9.604-4.028 9.604-9.387 0-5.393-3.999-9.42-9.604-9.42-5.639 0-9.603 4.027-9.603 9.42 0 5.359 3.964 9.387 9.603 9.387Zm.034-3.857c-3.144 0-5.297-2.321-5.297-5.53 0-3.243 2.153-5.53 5.297-5.53 3.11 0 5.195 2.287 5.195 5.496 0 3.243-2.119 5.564-5.195 5.564Zm34.004-14.951c-3.041 0-5.092 1.263-6.083 2.936-1.025-1.878-2.837-2.936-5.707-2.936-2.427 0-4.306 1.024-5.434 2.39v-1.98h-4.101v17.954h4.34V25.343c.034-1.706 1.401-3.584 3.862-3.618 2.426 0 3.759 1.81 3.759 4.165v10.342h4.34V25.343c.035-1.672 1.367-3.584 3.862-3.618 2.427 0 3.725 1.843 3.725 4.165v10.342h4.341V25.105c0-4.062-2.427-7.237-6.904-7.237Zm22.846.41v10.888c0 1.98-1.572 3.619-3.999 3.653-2.426 0-3.964-1.605-3.964-3.926V18.278h-4.34v11.161c0 4.165 2.46 7.237 7.04 7.237 2.324 0 4.272-.99 5.536-2.39v1.98h4.067V18.278h-4.34Zm14.717 18.398c4.511 0 7.45-2.117 7.45-5.7 0-6.588-9.877-4.711-9.877-7.988 0-1.092.855-1.775 2.461-1.775 1.504 0 2.563.649 3.042 2.014l3.793-1.468c-.752-2.457-3.281-3.89-6.767-3.89-4.237 0-6.972 2.047-6.972 5.324 0 6.178 9.877 4.54 9.877 8.09 0 1.263-1.093 1.98-2.836 1.98-2.188 0-3.589-.99-4.101-2.663l-3.794 1.468c.991 3.038 3.828 4.608 7.724 4.608ZM43.535 11.345 25.277.817a2.688 2.688 0 0 0-2.675 0L4.344 11.345a2.676 2.676 0 0 0-1.34 2.317v21.055c0 .951.513 1.837 1.34 2.317l18.258 10.528a2.67 2.67 0 0 0 1.34.356c.471 0 .933-.125 1.34-.356L43.54 37.034a2.676 2.676 0 0 0 1.34-2.316V13.662c0-.95-.513-1.837-1.34-2.317h-.005ZM24.353 22.884a.828.828 0 0 1-.827 0L5.776 12.65l17.75-10.23a.85.85 0 0 1 .827 0l17.75 10.232-17.75 10.233Zm-1.751 1.596c.13.074.268.139.416.19v20.99L5.268 35.433a.831.831 0 0 1-.416-.715v-20.47l17.75 10.232Z\"></path></svg></center>\n\n\n# Node wrapper for cryptomus\n\nThis module is a library for working with the Cryptomus API in a Node.js, written in TypeScript. Please note that this module is under development and is subject to change.\n\n> [!WARNING]  \n> This is a beta prerelease\n\n## Features\n\n- Full typing for request and response to ensure secure development.\n- Web docs - <a href=\"https://qweme32.github.io/cryptomus\">click</a>\n\n## Install\n```bash\nnpm i @qweme32/cryptomus\n```\n\n## Example\n```ts\nimport { Cryptomus } from \"@qweme32/cryptomus\";\nimport { v4 as uuid } from \"uuid\";\n\nasync function main() {\n    const cryptomus = new Cryptomus(\"merchant\", \"payment-token\", \"payout-token\");\n\n    return cryptomus.createPayment({\n        amount: \"100\",\n        order_id: uuid(),\n        currency: \"USD\"\n    })\n}\n\nmain().then(console.log);\n```\n\n<center><a href=\"https://qweme32.github.io/cryptomus\">Web docs</a><br>With < 3 by qweme</center>\n","readmeFilename":"README.md"}