@drupal-api-client/utils
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Utilities and other tools

This package contains optional utilities that may be useful for working with the Drupal API Client, but are not included in the base package.

Installation

npm install @drupal-api-client/utils

Usage

createCache

import { createCache } from "@drupal-api-client/utils";

const cache = createCache();

A cache based on Nanostores that satisfies the @drupal-api-client/api-client cache interface.

/@drupal-api-client/utils/

    Package Sidebar

    Install

    npm i @drupal-api-client/utils

    Weekly Downloads

    61

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    4.33 kB

    Total Files

    7

    Last publish

    Collaborators

    • backlineint