JSPM

  • Created
  • Published
  • Downloads 1169
  • Score
    100M100P100Q109037F
  • License MIT

Schema authoring and type inference package for ExpressCSV

Package Exports

  • @expresscsv/schemas

Readme

@expresscsv/schemas

Schema authoring and type inference for ExpressCSV, without the widget launcher.

Usage

import { type Infer, x } from '@expresscsv/schemas';

const employeeSchema = x.row({
  name: x.string(),
  email: x.string().email(),
  salary: x.number().currency('USD').optional(),
});

type Employee = Infer<typeof employeeSchema>;

Exports

  • x
  • Infer
  • ExType
  • ExBaseDef
  • ExRow
  • ExRowShape
  • ExRowWithOptionalColumns

Not included

This package intentionally does not export the widget launcher, React bindings, or importer configuration types. Use @expresscsv/sdk or @expresscsv/react for those integration surfaces.