Socket
Book a DemoInstallSign in
Socket

@drupal-api-client/decoupled-router-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drupal-api-client/decoupled-router-client

Client to interface with Drupal's Decoupled Router endpoint

1.1.1
latest
npmnpm
Version published
Weekly downloads
620
-16.33%
Maintainers
1
Weekly downloads
 
Created
Source

decoupled-router-client

This package contains the DecoupledRouterClient class which extends the base ApiClient class from the @drupal-api-client/api-client package. See https://www.drupal.org/project/api_client for more information about this project.

Installation

npm install @drupal-api-client/decoupled-router-client

Usage

This class includes the following parameters:

  • baseUrl: The url to use for all API requests
  • apiPrefix: The base path for the JSON:API endpoint
  • cache: An optional caching interface
  • customFetch: An optional method to use in place of the default fetch method
  • authentication: Optional credentials for authenticated requests
  • defaultLocale: An optional locale to use for requests by default.

Keywords

drupal

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.