@yankeeinlondon/builder-api
An API used to extend the capabilities of @antfu/vite-plugin-md
Last updated 3 years ago by ksnyde .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @yankeeinlondon/builder-api 
SYNC missed versions from official npm registry.

Builder API

This repo exposes everything you'll need to create your own "builder api" for the vite-plugin-md plugin.

Example

index.ts

import { createBuilder, PipelineStage } from "@yankeeinlondon/builder-api";

export default createBuilder("my_builder", PipelineStage.parser)
    .options<{quantity: number}>()
    .initializer()
    .handler(
        // ok, this plugin doesn't do much :)
        async (payload, options) => payload
    )
    .meta()

Current Tags

  • 1.4.1                                ...           latest (3 years ago)

28 Versions

  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.4                                ...           3 years ago
  • 1.3.3                                ...           3 years ago
  • 1.3.2                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 0.5.8                                ...           3 years ago
  • 0.5.7                                ...           3 years ago
  • 0.5.6                                ...           3 years ago
  • 0.5.5                                ...           3 years ago
  • 0.5.4                                ...           3 years ago
  • 0.5.2                                ...           3 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.4                                ...           4 years ago
  • 0.3.3                                ...           4 years ago
  • 0.3.2                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (22)

Copyright 2013 - present © cnpmjs.org | Home |