A data adapter that uses the NodeJS built-in https library to convert a Request into a Response. Can be passed to the @paychex/core createDataLayer factory method to enable data operations on NodeJS.
npm install @paychex/adapter-node
import { node } from '@paychex/adapter-node';
const { node } = require('@paychex/adapter-node');
import { data } from '@paychex/core';
import { node } from '@paychex/adapter-node';
const proxy = data.createProxy();
const { createRequest, fetch, setAdapter } = data.createDataLayer(proxy, node);