1.0.4 • Published 2 years ago

fp-mollie v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

fastify-mollie

Mollie client API bindigs to Fastify!

ECMA

import fastify from "fastify";
const app = fastify();
import plugin from "fp-mollie";

app.register(plugin, { apiKey: "your_key" });
app.get("/", async (req, res) => {
  console.log(await app.mollie.methods.list());
  return res.send("ok");
});
app.listen({ port: 2000 });

CommonJS

const fastify = require("fastify");
const app = fastify();
const plugin = require("fp-mollie");

app.register(plugin, { apiKey: "your_key" });
app.get("/", async (req, res) => {
  console.log(await app.mollie.methods.list());
  return res.send("ok");
});
app.listen({ port: 2000 });
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago