Browse and organize discovered nsites
Build searchable site collections, group related versions, hide unwanted publishers and keep enough information to revisit what you found. A hidden item is not deleted from your original archive.
import { Directory } from '@chaoticka/nsite-loopy-sdk';
const state = Directory.emptyState();
const results = Directory.directoryRows(sites, state, { query: 'music' });
const exportable = Directory.publicCatalog(sites, state);
The model supports collection membership, publisher counts, manual revisioned metadata, sorting and filtering, clone stacks, queue navigation and export. A clone stack is not the same as a collection. Public catalog exports can omit hidden content while preserving the private source state.
Use Directory.validateCatalog, validateWorkspace and validateRules for schema checking before import/export. Refer to Directory API for all 31 exports and their declarations.