New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bic

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bic - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

83

package.json
{
"name": "bic",
"version": "1.0.0",
"description": "BIC (Business Identifier Code) format validator",
"main": "index.js",
"scripts": {
"test": "ava --tap | tnyan",
"prepublish": "npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nicolaspayot/bic.git"
},
"keywords": [
"iso 9362",
"bic",
"bic code",
"business identifier code",
"swift",
"swift-bic",
"swift id",
"swift code"
],
"author": "Nicolas Payot <nicolas.payot@gmail.com> (https://github.com/nicolaspayot)",
"license": "MIT",
"bugs": {
"url": "https://github.com/nicolaspayot/bic/issues"
},
"homepage": "https://github.com/nicolaspayot/bic#readme",
"devDependencies": {
"ava": "^0.16.0",
"tap-nyan": "0.0.2"
}
"name": "bic",
"version": "1.1.0",
"description": "BIC (Business Identifier Code) format validator",
"main": "dist/bic.cjs.js",
"module": "dist/bic.esm.js",
"browser": "dist/bic.umd.js",
"scripts": {
"start": "rollup -c -w",
"build": "rimraf dist/ && rollup -c",
"test": "jest",
"prepublish": "yarn test",
"format": "prettier --write src/*.ts",
"lint": "eslint src/*.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nicolaspayot/bic.git"
},
"keywords": [
"iso 9362",
"bic",
"bic code",
"business identifier code",
"swift",
"swift-bic",
"swift id",
"swift code"
],
"author": "Nicolas Payot <nicolas.payot@gmail.com> (https://github.com/nicolaspayot)",
"license": "MIT",
"bugs": {
"url": "https://github.com/nicolaspayot/bic/issues"
},
"homepage": "https://github.com/nicolaspayot/bic#readme",
"devDependencies": {
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@types/jest": "^26.0.7",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"@wessberg/rollup-plugin-ts": "^1.2.29",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-terser": "^6.1.0",
"typescript": "^3.9.7"
}
}

@@ -10,2 +10,4 @@ # bic

$ npm install bic --save
# OR
$ yarn add bic
```

@@ -15,10 +17,29 @@

```js
var bic = require('bic');
### In Node.js
```javascript
const bic = require('bic');
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true
// OR
import bic from 'bic';
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true
```
### In browser
```html
<script src="https://cdn.jsdelivr.net/npm/bic@[VERSION_NUMBER]/dist/bic.umd.min.js"></script>
<script>
bic.isValid('12345678'); // false
bic.isValid('CHASUS33'); // true
</script>
```
## License
The MIT License (MIT)

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