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

trailpack-proxy-generics

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trailpack-proxy-generics

Generics - Trailpack for Proxy Engine

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

trailpack-proxy-generics

NPM version Build status Dependency Status Code Climate

Generic features that require adapters built with love from Cali-Style

Generics are common features that every web application needs but implements differently. The result of a Generic is a normalized way of handeling these different services. For example: Email, Payment Processors, Tax Provider, Shipping Provider, and Fulfillment.

Install

$ npm install --save trailpack-proxy-generics

Configure

// config/main.js
module.exports = {
  packs: [
    // ... other trailpacks
    require('trailpack-proxy-generics')
  ]
}

Currently Supported Generics

Email Provider (TODO)

The Email Provider handles sending emails from different email providers eg. Mandrill, MailGun

EmailGenericService.send
EmailGenericService.sendTemplate
Creating an Email Provider Plugin

Payment Processor (TODO)

The Payment Processor handles payments from different merchant processors/terminals eg. Stripe, Authorize.net.

PaymentGenericService.authorize
PaymentGenericService.capture
PaymentGenericService.sale
PaymentGenericService.void
PaymentGenericService.refund
Creating a Payment Processor Plugin

Tax Provider (TODO)

The Tax Provider handles sales tax for items sold from different tax providers eg. TaxBundle

TaxGenericService.getRate
Creating a Tax Provider Plugin

Shipping Provider (TODO)

The Shipping Provider handles shipping rates from a location to a destination from different shipping providers eg. Shipstation, USPS, FedEx, UPS

ShippingGenericService.getRates
Creating a Shipping Provider Plugin

Fulfillment Provider (TODO)

The Fulfillment Provider handles fulfillment events from a location to a destination from different fulfillment providers eg. Shipstation

FulfillmentGenericService.createOrders
FulfillmentGenericService.updateOrders
FulfillmentGenericService.destroyOrders
FulfillmentGenericService.getOrders
FulfillmentGenericService.holdOrders
Creating a Fulfillment Provider Plugin

Data Store Provider (TODO)

The Data Store provider handles uploads and downloads to a remote data store eg. AWS, Gcloud

DataStoreGenericService.upload
Creating a Data Store Provider Plugin

Keywords

FAQs

Package last updated on 16 Jan 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