Documentation
    Preparing search index...

    Interface PathEntry

    One published file: an absolute path and the lowercase-hex SHA-256 of its bytes. Parsed from a NIP-5A ["path", "<abs-path>", "<sha256>"] tag.

    const entry: PathEntry = { path: '/index.html', sha256: '186ea5…1c99' };
    
    interface PathEntry {
        path: string;
        sha256: string;
    }
    Index

    Properties

    Properties

    path: string

    Absolute path of the file (the path tag's second element).

    sha256: string

    Lowercase-hex SHA-256 of the file bytes (the path tag's third element).