New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pedidopago/pp2

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pedidopago/pp2

Pedido Pago 2 JS API

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
2
Created
Source

pp2

Pedido Pago 2 JS API

NPM JavaScript Style Guide

Install

npm install --save @pedidopago/pp2

Usage (JS lib)

import pp from '@pedidopago/pp2'

async function example() {
const result = await pp.store.getInfo();
  console.log(result.store_id);
}
example();

Usage (component)

import React, { Component } from 'react'

import MyComponent from '@pedidopago/pp2'
import 'pp2/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

To get started, in one tab, run: $ cd pp2 && npm start

And in another tab, run the create-react-app dev server: $ cd pp2/example && npm start

Then go to localhost:3000

License

MIT © pedidopago

FAQs

Package last updated on 26 Sep 2020

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