refactor: rename package from inline-schema to typed-csv
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# inline-schema
|
||||
# typed-csv
|
||||
|
||||
A TypeScript library for parsing and validating inline schemas with a TypeScript-like syntax using `;` instead of `,`.
|
||||
A TypeScript library for typed CSV data with inline schema validation using a TypeScript-like syntax with `;` instead of `,`.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install inline-schema
|
||||
npm install typed-csv
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -13,7 +13,7 @@ npm install inline-schema
|
||||
### Basic Example
|
||||
|
||||
```typescript
|
||||
import { defineSchema } from 'inline-schema';
|
||||
import { defineSchema } from 'typed-csv';
|
||||
|
||||
// Define a schema
|
||||
const stringSchema = defineSchema('string');
|
||||
@@ -157,7 +157,7 @@ module.exports = {
|
||||
rules: [
|
||||
{
|
||||
test: /\.schema\.csv$/,
|
||||
use: 'inline-schema/csv-loader',
|
||||
use: 'typed-csv/csv-loader',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user