Adapters

Simpla uses additional adapters to provide pluggable, service-agnostic functionality on top of the core library. All adapters outlined in this reference are bundled with the simpla package on NPM.

SimplaNetlify

new SimplaNetlify(config: Object): Object
Constructor parameter
site {String} The name/ID of your Netlify site
Adapter location
/adapters/netlify.js

Use Netlify’s OAuth services to authenticate Github collaborators with Simpla. Instantiate it with your Netlify site name when you call Simpla.init.

Simpla.init({
  auth: new SimplaNetlify({
    site: 'mysite'
  }),
  ...
});

results matching ""

    No results matching ""