Socket
Socket
Sign inDemoInstall

fluent-interface-stripe

Package Overview
Dependencies
73
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fluent-interface-stripe

A wrapper for the wrapper of the stripe API.


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

THIS PROJECT IS CURRENTLY A WORK IN PROGRESS, VERY LIMITED FEATURES HAVE BEEN IMPLEMENTED


Fluent Interface Stripe

A TypeScript wrapper of the stripe wrapper of the stripe API following the Fluent Interface design pattern. Currently a work in progress.

Getting Started

import { Stripe, Charge } from './stripe-wrapper/index';

// First initialise Stripe
let stripe = Stripe('sk_test_...');

// Then create the charge
let charge = new Charge('tok_visa');
charge.amount(1000)
      .currency('usd')
      .description('Example')
      .process();

Features

Currently implemented features:

  • Charges
  • Customers
  • Invoices
  • Orders
  • Refunds

Keywords

FAQs

Last updated on 03 Feb 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc