8
8
</p >
9
9
10
10
<div align =" center " >
11
- <a href =" https://www.npmjs.com/package/lightfeed-extract " >
12
- <img src="https://img.shields.io/npm/v/lightfeed-extract ?logo=npm" alt="npm" /></a>
13
- <a href =" https://github.com/lightfeed/lightfeed-extract /actions/workflows/test.yml " >
14
- <img src="https://img.shields.io/github/actions/workflow/status/lightfeed/lightfeed-extract /test.yml?branch=main"
11
+ <a href =" https://www.npmjs.com/package/@ lightfeed/extractor " >
12
+ <img src="https://img.shields.io/npm/v/@ lightfeed/extractor ?logo=npm" alt="npm" /></a>
13
+ <a href =" https://github.com/lightfeed/extractor /actions/workflows/test.yml " >
14
+ <img src="https://img.shields.io/github/actions/workflow/status/lightfeed/extractor /test.yml?branch=main"
15
15
alt="Test status (main branch)"></a>
16
- <a href =" https://github.com/lightfeed/lightfeed-extract /blob/main/LICENSE " >
17
- <img src="https://img.shields.io/github/license/lightfeed/lightfeed-extract " alt="License" /></a>
16
+ <a href =" https://github.com/lightfeed/extractor /blob/main/LICENSE " >
17
+ <img src="https://img.shields.io/github/license/lightfeed/extractor " alt="License" /></a>
18
18
</div >
19
19
<div >
20
20
<p align =" center " >
51
51
## Installation
52
52
53
53
``` bash
54
- npm install lightfeed-extract
54
+ npm install @ lightfeed/extractor
55
55
```
56
56
57
57
## Hosted Version
@@ -69,7 +69,7 @@ While this library provides a robust foundation for data extraction, you might w
69
69
### Basic Example
70
70
71
71
``` typescript
72
- import { extract , ContentFormat , LLMProvider } from " lightfeed-extract " ;
72
+ import { extract , ContentFormat , LLMProvider } from " @ lightfeed/extractor " ;
73
73
import { z } from " zod" ;
74
74
75
75
async function main() {
@@ -335,7 +335,7 @@ The function returns a string containing the markdown conversion of the HTML con
335
335
#### Example
336
336
337
337
``` typescript
338
- import { convertHtmlToMarkdown , HTMLExtractionOptions } from " lightfeed-extract " ;
338
+ import { convertHtmlToMarkdown , HTMLExtractionOptions } from " @ lightfeed/extractor " ;
339
339
340
340
// Basic conversion
341
341
const markdown = convertHtmlToMarkdown (" <h1>Hello World</h1><p>This is a test</p>" );
@@ -377,7 +377,7 @@ safeSanitizedParser<T>(schema: ZodTypeAny, rawObject: unknown): z.infer<T> | nul
377
377
```
378
378
379
379
``` typescript
380
- import { safeSanitizedParser } from " lightfeed-extract " ;
380
+ import { safeSanitizedParser } from " @ lightfeed/extractor " ;
381
381
import { z } from " zod" ;
382
382
383
383
// Define a product catalog schema
0 commit comments