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

mcc

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcc

API to get Merchant Category Codes

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

mcc

Node module to get Merchant Category Codes (MCC)

version downloads MIT License

API

var api = require('mcc');
api.get("0742"); // api.get("742") & api.get(742) also works
/* 
{ 
  mcc: '0742',
  edited_description: 'Veterinary Services',
  combined_description: 'Veterinary Services',
  usda_description: 'Veterinary Services',
  irs_description: 'Veterinary Services',
  irs_reportable: 'Yes',
  id: 0 
}
*/

api.all;
// returns array of all merchant category codes


// returns all mcc ids for given emoji
api.getByEmoji('🏈');
/*
[ 7941, 7997, 7999, 5655, 5941 ]
*/

Fields

  • Derived MCC - mcc
  • edited_description - manually edited, modern text
  • combined_description - uses either USDA or IRS
  • usda_description - Description from the USDA
  • irs_description - Description from IRS
  • irs_reportable - Reportable under 6041/6041A and Authority for Exception

Keywords

FAQs

Package last updated on 21 Feb 2017

Did you know?

Socket

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.

Install

Related posts

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