![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Lookup card BIN numbers using https://www.binlist.net
IIN (Issuer Identification Number) is the more modern name.
Useful for querying information from a credit card such as:
The BIN is the first digits of a card number: 0000 0000 **** ****
. You can
pass any card number prefix of 4-9 digits. More numbers will return more
information.
Works in browser environments using Browserify or similar.
var lookup = require('binlookup')();
// using callbacks
lookup('45717360',
function( err, data ){
console.log(data);
});
// using promises
lookup('45717360').then(
data => console.log(data));
Example data
returned:
{
number: {
length: 16,
luhn: true
},
scheme: 'visa',
type: 'debit',
brand: 'Visa/Dankort',
prepaid: false,
country: {
numeric: '208',
alpha2: 'DK',
name: 'Denmark',
emoji: '🇩🇰',
currency: 'DKK',
latitude: 56,
longitude: 10
},
bank: {
name: 'Jyske Bank',
url: 'www.jyskebank.dk',
phone: '+4589893300',
city: 'Hjørring'
}
}
You can cache the response using AsyncCache or similar:
var lookup = require('binlookup')();
var AsyncCache = require('async-cache');
var cache = new AsyncCache({
load: lookup,
});
cache.get(bin, function( err, data ){
console.log(data);
});
FAQs
Look up BIN/IIN numbers using binlist.net
We found that binlookup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.