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
xInferExTypeExBaseDefExRowExRowShapeExRowWithOptionalColumns
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.