Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
This is a very early stage of development, very few is supported and API will likely change.
This package uses promises and is targeted at ES6. It includes TypeScript definitions.
##Example:
const pagarme = new PagarMe("api_key", "encryption_key");
const card_data = {
card_number: "4901720080344448",
card_holder_name: "Usuario de Teste",
card_expiration_date: "1219",
card_cvv: "314"
};
// Encrypt the card data so that it is never sent over the network in plain
const card_hash = await pagarme.cardHash(card_data);
const inserted_card = await pagarme.cards.insert(card_hash);
const retrieved_card = await pagarme.card(inserted_card.id);
// inserted_card == retrieved_card
FAQs
A JavaScript library to interface with Pagar.me API
The npm package pagarme receives a total of 4,130 weekly downloads. As such, pagarme popularity was classified as popular.
We found that pagarme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 25 open source maintainers 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.