JSPM

  • Created
  • Published
  • Downloads 1053
  • Score
    100M100P100Q104929F
  • License MIT

Schema authoring and type inference package for ExpressCSV

Package Exports

  • @expresscsv/schemas
  • @expresscsv/schemas/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@expresscsv/schemas) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.