1.0.21 • Published 7 months ago

@mavenagi/knowledge-converter v1.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@mavenagi/knowledge-converter

This library can be used to convert a variety of file formats to MavenAGI-compatible documents.

Installation

npm install @mavenagi/knowledge-converter

Usage

The library has a single async method convert() which takes binary or string data, and returns a title, if exists, and the content converted to markdown:

import { convert } from '@mavenagi/knowledge-converter';

const [ title, content ] = await convert({
  data: '<html><body>Hello world!</body></html>'
});

Development

npm install    // install dependencies
npm run build  // build the library
npm run test   // run tests
1.0.21

7 months ago

1.0.20

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago