{"_id":"@calp-pro/token-name","name":"@calp-pro/token-name","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@calp-pro/token-name","version":"1.0.1","description":"Load and store token names of ERC-20 contracts","keywords":["DEX","token-name","ERC-20"],"homepage":"https://github.com/calp-pro/token-name#readme","bugs":{"url":"https://github.com/calp-pro/token-name/issues"},"repository":{"type":"git","url":"git+https://github.com/calp-pro/token-name.git"},"license":"MIT","author":{"name":"Vladimir Spirin","url":"spirin.vladimir@gmail.com"},"type":"commonjs","main":"index.js","scripts":{"test":"node --test test.js"},"gitHead":"ade2d3c8d3da8fdf99c0e7af578801735ca7255b","_id":"@calp-pro/token-name@1.0.1","_nodeVersion":"22.17.1","_npmVersion":"11.19.0","dist":{"integrity":"sha512-xk86h6NOqzV2UO/tyzxUX0DCjLN3X9IZx5UMkFwmiX5WSssbBje9zJZ16i1raza8bx0H8QvVBt6uxB9mAisoFw==","shasum":"85e2eb3fa98fb109e4d757286e4ec49276405ed1","tarball":"https://registry.npmjs.org/@calp-pro/token-name/-/token-name-1.0.1.tgz","fileCount":7,"unpackedSize":25926260,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH3ynZsPHw1DgGbB6N32fyxg5P/1kf9Vjq4HK6UyWHThAiAKuKRxIKArI+7yb5tQ0qW52n/ZEo82x6+oDcOiy8/hXA=="}]},"_npmUser":{"name":"spirin.vladimir","email":"spirin.vladimir@gmail.com"},"directories":{},"maintainers":[{"name":"spirin.vladimir","email":"spirin.vladimir@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/token-name_1.0.1_1787469572735_0.2416820342769206"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-23T07:19:32.573Z","1.0.1":"2026-08-23T07:19:33.083Z","modified":"2026-08-23T07:19:33.287Z"},"maintainers":[{"name":"spirin.vladimir","email":"spirin.vladimir@gmail.com"}],"description":"Load and store token names of ERC-20 contracts","homepage":"https://github.com/calp-pro/token-name#readme","keywords":["DEX","token-name","ERC-20"],"repository":{"type":"git","url":"git+https://github.com/calp-pro/token-name.git"},"author":{"name":"Vladimir Spirin","url":"spirin.vladimir@gmail.com"},"bugs":{"url":"https://github.com/calp-pro/token-name/issues"},"license":"MIT","readme":"# token-names\n\nRequest token name by token address (ERC-20)\n\n## Load\n\nToken name loading using RPC request to Ethereum nodes via:\n- Alchemy\n- QuickNode\n- Ankr\n- GetBlock\n\n## Store\n\n`token_name.csv` - has 2 columns:\n- address `:string` (42 chars, starts with `0x`)\n- token name `:string` (`BTC`, `ETH` etc)\n\n## Install\n\n```\nnpm i --save @calp-pro/token-name\n```\n\n## Usage\n\n```\nvar {get_token_name} = require('@calp-pro/token-name')\n\nget_token_name('0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2')\n.then(token_name =>\n    console.log(token_name)\n)\n// expected to see: WETH\n```","readmeFilename":"README.md","_rev":"1-8b3eab706e3f2ab322792465e71a1573"}