astro-loader

  • Version 0.4.1
  • Published
  • 13.8 kB
  • 2 dependencies
  • MIT license

Install

npm i astro-loader
yarn add astro-loader
pnpm add astro-loader

Overview

A package for loading content into Astro's Content Collection API

Index

Functions

function HashnodeLoader

HashnodeLoader: (options: HashnodeLoaderOptions) => Loader;

    function HashnodeLoaderPosts

    HashnodeLoaderPosts: (args: Omit<HashnodeLoaderOptions, 'operation'>) => Loader;
    • Deprecated

      Use HashnodeLoader instead

    function HashnodeLoaderSeries

    HashnodeLoaderSeries: (args: Omit<HashnodeLoaderOptions, 'operation'>) => Loader;
    • Deprecated

      Use HashnodeLoader instead

    Type Aliases

    type HashnodeLoaderOptions

    type HashnodeLoaderOptions = QueryBuilderOptionsWithOperation & {
    operation: 'seriesList' | 'posts' | 'staticPages';
    endpoint?: string;
    publicationHost: string;
    [key: `with${string}`]: QueryBuilderOptionsWithOperation;
    };

      Package Files (2)

      Dependencies (2)

      Dev Dependencies (15)

      Peer Dependencies (0)

      No peer dependencies.

      Badge

      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/astro-loader.

      • Markdown
        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/astro-loader)
      • HTML
        <a href="https://www.jsdocs.io/package/astro-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>