@valentynb/gs1-parser - v1.3.0
    Preparing search index...

    Interface ParserOptions

    Options that tweak the parser's behavior

    interface ParserOptions {
        fncChar?: string;
        lotMaxLength?: number;
        utcTimestamps?: boolean;
    }
    Index

    Properties

    fncChar?: string

    The FNC1 character, a non-printable special character that delimits fields of variable length. If not specified, the GS char (\x1D) is used

    lotMaxLength?: number

    The lot (or batch) field is usually delimited by a FNC1 char, but you can limit its size to a specific length. If not specified, no limit is applied, except the one in the GS1 specs

    utcTimestamps?: boolean

    If true, date fields are returned as UTC timestamps instead of local dates