Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web3-eth-iban

Package Overview
Dependencies
Maintainers
3
Versions
483
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-eth-iban - npm Package Compare versions

Comparing version 2.0.0-alpha.1 to 3.0.0-rc.0

lib/index.js

32

package.json
{
"name": "web3-eth-iban",
"namespace": "ethereum",
"version": "2.0.0-alpha.1",
"version": "3.0.0-rc.0",
"description": "This package converts Ethereum addresses to IBAN addresses a vice versa.",
"repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-eth-iban",
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-iban",
"license": "LGPL-3.0",

@@ -11,26 +10,17 @@ "engines": {

},
"main": "dist/web3-eth-iban.cjs.js",
"module": "dist/web3-eth-iban.esm.js",
"browser": "dist/web3-eth-iban.umd.js",
"types": "types/index.d.ts",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest",
"dtslint": "dtslint types --onlyTestTsNext"
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"types": "types/index.d.ts",
"main": "lib/index.js",
"dependencies": {
"@babel/runtime": "^7.3.1",
"bn.js": "4.11.8",
"web3-utils": "2.0.0-alpha.1"
"bn.js": "^4.11.9",
"web3-utils": "3.0.0-rc.0"
},
"devDependencies": {
"definitelytyped-header-parser": "^1.0.1",
"dtslint": "0.4.2"
"dtslint": "^3.4.1",
"typescript": "^3.9.5"
},
"files": [
"dist",
"types/index.d.ts"
],
"gitHead": "cb266cc298150f4eb1c8cdac4f41551dd8819a81"
"gitHead": "4c88fbc94d1348dfa412ebdefa1d34e50f509977"
}
# web3-eth-iban
This is a sub module of [web3.js][repo]
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is the IBAN module to be used in the `web3-eth` module.
This is a sub package of [web3.js][repo]
This is the IBAN package to be used in the `web3-eth` package.
Please read the [documentation][docs] for more.

@@ -10,2 +13,4 @@

### Node.js
```bash

@@ -18,14 +23,22 @@ npm install web3-eth-iban

```js
import {Iban} from 'web3-eth-iban';
const Web3EthIban = require('web3-eth-iban');
new Iban('XE75JRZCTTLBSYEQBGAS7GID8DKR7QY0QA3');
const iban = new Web3EthIban('XE75JRZCTTLBSYEQBGAS7GID8DKR7QY0QA3');
iban.toAddress() > '0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B';
```
## Types
[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
All the typescript typings are placed in the types folder.
## Types
All the TypeScript typings are placed in the `types` folder.
[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
[npm-image]: https://img.shields.io/npm/v/web3-eth-iban.svg
[npm-url]: https://npmjs.org/package/web3-eth-iban
[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-eth-iban
[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-eth-iban
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-eth-iban
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=web3-eth-iban
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc