diff --git a/package.json b/package.json index c785a73..f28dc63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warcio", - "version": "2.4.1", + "version": "2.4.2", "keywords": [ "WARC", "web archiving" diff --git a/src/commands/index.ts b/src/commands/index.ts index 7647797..49e133c 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -1,3 +1,2 @@ -export { main } from "./main"; -export { indexCommandArgs, cdxIndexCommandArgs } from "./args"; -export type { IndexCommandArgs, CdxIndexCommandArgs } from "./args"; +export * from "./main"; +export * from "./args"; diff --git a/src/index.ts b/src/index.ts index f4ddebc..221bc36 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,48 +1 @@ -export { - BaseAsyncIterReader, - AsyncIterReader, - LimitReader, - NoConcatInflator, - StatusAndHeadersParser, - StatusAndHeaders, - HeadersMultiMap, - WARCParser, - WARCSerializer, - BaseSerializerBuffer, - WARCRecord, - WARC_1_0, - WARC_1_1, - Indexer, - CDXIndexer, - CDXAndRecordIndexer, - DEFAULT_FIELDS, - DEFAULT_CDX_FIELDS, - DEFAULT_LEGACY_CDX_FIELDS, - postToGetUrl, - getSurt, - appendRequestQuery, - jsonToQueryParams, - jsonToQueryString, - mfdToQueryParams, - mfdToQueryString, - concatChunks, - splitChunk, -} from "./lib"; - -export type { - WARCParserOpts, - WARCSerializerOpts, - WARCRecordOpts, - WARCType, -} from "./lib"; - -export type { - AsyncIterReaderOpts, - Source, - SourceReader, - SourceReadable, - StreamResult, - StreamResults, - Request, - IndexerOffsetLength, -} from "./lib"; +export * from "./lib"; \ No newline at end of file diff --git a/src/lib/index.ts b/src/lib/index.ts index a0168a3..01b0fcd 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,50 +1,15 @@ -export { - BaseAsyncIterReader, - AsyncIterReader, - LimitReader, - NoConcatInflator, -} from "./readers"; -export type { AsyncIterReaderOpts } from "./readers"; +export * from "./readers"; -export { StatusAndHeadersParser, StatusAndHeaders } from "./statusandheaders"; +export * from "./statusandheaders"; -export { WARCParser } from "./warcparser"; -export type { WARCParserOpts } from "./warcparser"; +export * from "./warcparser"; -export { WARCSerializer, BaseSerializerBuffer } from "./warcserializer"; -export type { WARCSerializerOpts } from "./warcserializer"; +export * from "./warcserializer"; -export { WARCRecord, WARC_1_1, WARC_1_0 } from "./warcrecord"; -export type { WARCRecordOpts, WARCType } from "./warcrecord"; +export * from "./warcrecord"; -export { - Indexer, - CDXIndexer, - CDXAndRecordIndexer, - DEFAULT_FIELDS, - DEFAULT_CDX_FIELDS, - DEFAULT_LEGACY_CDX_FIELDS, -} from "./indexer"; +export * from "./indexer"; -export { - postToGetUrl, - getSurt, - appendRequestQuery, - jsonToQueryParams, - jsonToQueryString, - mfdToQueryParams, - mfdToQueryString, - concatChunks, - splitChunk, - HeadersMultiMap, -} from "./utils"; +export * from "./utils"; -export type { - Source, - SourceReader, - SourceReadable, - StreamResult, - StreamResults, - Request, - IndexerOffsetLength, -} from "./types"; +export type * from "./types"; diff --git a/src/node/index.ts b/src/node/index.ts index 6c6d80e..e99ebcb 100644 --- a/src/node/index.ts +++ b/src/node/index.ts @@ -1,6 +1 @@ -export { - WARCSerializer, - TempFileBuffer, - DEFAULT_MEM_SIZE, -} from "./warcserializer"; -export type { WARCSerializerOpts } from "./warcserializer"; +export * from "./warcserializer";