1.0.4 • Published 1 year ago

fp-mollie v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago