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

@types/iban

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/iban - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

48

iban/index.d.ts

@@ -1,4 +0,5 @@

// Type definitions for iban.js 0.0.5
// Type definitions for iban.js 0.0.14
// Project: https://github.com/arhs/iban.js/
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
// Piotr Błażejewicz <https://github.com/cyrilschumacher>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -8,19 +9,19 @@

* @summary Interface for {@link IBAN} object.
* @author Cyril Schumacher
* @version 1.0
* Cyril Schumacher
*/
// tslint:disable:interface-name that is generic name
interface IBANStatic {
/**
* @summary Returns the IBAN in a electronic format.
* @param {string} iban The IBAN to convert.
* @param {string} The IBAN in electronic format.
* @param iban The IBAN to convert.
* @param The IBAN in electronic format.
*/
electronicFormat(iban: string): string;
/**
/**
* @summary Convert the passed BBAN to an IBAN for this country specification.
* @param {string} countryCode The country of the BBAN.
* @param {string} bban The BBAN to convert to IBAN.
* @returns {string} The IBAN.
*/
* @param countryCode The country of the BBAN.
* @param bban The BBAN to convert to IBAN.
* @returns The IBAN.
*/
fromBBAN(countryCode: string, bban: string): string;

@@ -30,4 +31,4 @@

* @summary Check if the passed iban is valid according to this specification.
* @param {string} iban The iban to validate.
* @returns {boolean} True if valid, false otherwise.
* @param iban The iban to validate.
* @returns True if valid, false otherwise.
*/

@@ -38,12 +39,12 @@ isValid(iban: string): boolean;

* @summary Check of the passed BBAN is valid.
* @param {string} countryCode The country of the BBAN.
* @param {string} bban The BBAN to validate.
* @returns {boolean} True if valid, false otherwise.
* @param countryCode The country of the BBAN.
* @param bban The BBAN to validate.
* @returns True if valid, false otherwise.
*/
isValidBBAN(countryCode: string, bban: string): boolean;
/**
/**
* @summary Returns the IBAN in a print format.
* @param {string} iban The IBAN to convert.
* @param {string} separator The separator to use between IBAN blocks, defaults to ' '.
* @param iban The IBAN to convert.
* @param [separator] The separator to use between IBAN blocks, defaults to ' '.
*/

@@ -54,5 +55,5 @@ printFormat(iban: string, separator?: string): string;

* @summary Convert the passed IBAN to a country-specific BBAN.
* @param {string} iban The IBAN to convert.
* @param {string} separator The separator to use between BBAN blocks, defaults to ' '.
* @returns {string} The BBAN
* @param iban The IBAN to convert.
* @param [separator] The separator to use between BBAN blocks, defaults to ' '.
* @returns The BBAN
*/

@@ -64,4 +65,3 @@ toBBAN(iban: string, separator?: string): string;

declare module 'iban' {
export = IBAN;
}
export = IBAN;
export as namespace IBAN;
{
"name": "@types/iban",
"version": "0.0.30",
"version": "0.0.31",
"description": "TypeScript definitions for iban.js",

@@ -11,13 +11,20 @@ "license": "MIT",

"githubUsername": "cyrilschumacher"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/cyrilschumacher",
"githubUsername": "cyrilschumacher"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/iban"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "05403d7f67eff47719ab69bd5158354f1d716bb24b1678c5fb376a28076cecbb",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "cd1ac5caf154c6391aa35f83a709a5a95e5533a681d4d2a7b580ac63dcc8bd33",
"typeScriptVersion": "3.3"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iban
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iban.
Additional Details
* Last updated: Thu, 15 Mar 2018 23:17:55 GMT
### Additional Details
* Last updated: Wed, 23 Dec 2020 21:09:59 GMT
* Dependencies: none
* Global values: IBAN
* Global values: `IBAN`
# Credits
These definitions were written by Cyril Schumacher <https://github.com/cyrilschumacher>.
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher), and [Piotr Błażejewicz](https://github.com/cyrilschumacher).

Sorry, the diff of this file is not supported yet

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