1.6.0 • Published 6 years ago

@fabrix/spool-generics v1.6.0

Weekly downloads
14
License
MIT
Repository
github
Last release
6 years ago

spool-generics

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

Install

$ npm install @fabrix/spool-generics --save

An adapter protocol for common functions

Generics are common features that web applications need but implement differently. The result of a Generic is a normalized way of handling these different services.

A generic is a great way to implement 3rd parties. You can write your application to implement a single service but easily swap out the the 3rd party.

Generics can add their own Models, Controllers, Services, and Policies so they can support things like vendor specific webhooks or extend functionality of Fabrix.

Current Generics: Email Provider, Payment Processors, Tax Provider, Shipping Provider, Fulfillment, Geolocation, Image Manipulation, HTML rendering, whatever you need!

Can you think of a generic or method we missed? Create a PR!

Usage

Configure

// config/main.js
module.exports = {
  // ...
  spools: [
    require('@fabrix/spool-generics').GenericsSpool
  ]
}
1.6.0

6 years ago

1.5.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago