@paychex/adapter-node

2.1.7 • Public • Published

@paychex/adapter-node

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.

Installation

npm install @paychex/adapter-node

Importing

esm

import { node } from '@paychex/adapter-node';

cjs

const { node } = require('@paychex/adapter-node');

Usage

import { data } from '@paychex/core';
import { node } from '@paychex/adapter-node';

const proxy = data.createProxy();
const { createRequest, fetch, setAdapter } = data.createDataLayer(proxy, node);

/@paychex/adapter-node/

    Package Sidebar

    Install

    npm i @paychex/adapter-node

    Weekly Downloads

    2

    Version

    2.1.7

    License

    Apache-2.0

    Unpacked Size

    1.38 MB

    Total Files

    38

    Last publish

    Collaborators

    • paychex-ssmithrand
    • dbarnes1
    • best442
    • dhergert-payx