nodedb-json
Version:
A lightweight JSON-based database for Node.js with TypeScript support, indexing, and complex query capabilities
8 lines (7 loc) • 846 B
TypeScript
export { default, NodedbJson } from './database';
export { Collection } from './collection/collection';
export { DatabaseError } from './errors/database-error';
export { CorruptedFileError } from './errors/corrupted-file-error';
export { DuplicateIndexError } from './errors/duplicate-index-error';
export { FileLockError } from './errors/file-lock-error';
export type { AnyValue, ArrayItem, CollectionItem, CollectionKey, CloseOptions, DbSchema, PredicateFunction, UpdaterObject, DbOptions, IndexDefinition, IndexType, IndexValueMode, IndexDefinitions, IndexOptions, QueryOptions, QueryOptionsWithSelect, QueryResult, QueryResultForOptions, MatchObject, FieldCondition, QueryOperators, SchemaKey, SchemaValue, SortDirection, SortOption, PaginationOption, PaginationResult, AggregationType, AggregationOption, AggregationResult } from './types';