/ live.thehmm.nl / back / node_modules / @formatjs / icu-messageformat-parser /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]lib/2 years ago -  
[TXT]LICENSE.md40 years ago1.0K 
[TXT]README.md40 years ago813 d7c1522 post receive test [كارل مبارك]
[TXT]date-time-pattern-generator.d.ts40 years ago499  
[TXT]date-time-pattern-generator.d.ts.map40 years ago229  
[   ]date-time-pattern-generator.js40 years ago3.1K 
[TXT]error.d.ts40 years ago3.1K 
[TXT]error.d.ts.map40 years ago1.0K 
[   ]error.js40 years ago4.5K 
[TXT]index.d.ts40 years ago323  
[TXT]index.d.ts.map40 years ago340  
[   ]index.js40 years ago1.8K 
[TXT]manipulator.d.ts40 years ago648  
[TXT]manipulator.d.ts.map40 years ago241  
[   ]manipulator.js40 years ago2.5K 
[TXT]no-parser.d.ts40 years ago144  
[TXT]no-parser.d.ts.map40 years ago178  
[   ]no-parser.js40 years ago417  
[   ]package.json2 years ago1.8K 
[TXT]parser.d.ts40 years ago5.5K 
[TXT]parser.d.ts.map40 years ago1.7K 
[   ]parser.js40 years ago 48K 
[TXT]printer.d.ts40 years ago348  
[TXT]printer.d.ts.map40 years ago359  
[   ]printer.js40 years ago3.9K 
[TXT]regex.generated.d.ts40 years ago145  
[TXT]regex.generated.d.ts.map40 years ago183  
[   ]regex.generated.js40 years ago325  
[TXT]time-data.generated.d.ts40 years ago106  
[TXT]time-data.generated.d.ts.map40 years ago192  
[   ]time-data.generated.js40 years ago 16K 
[TXT]types.d.ts40 years ago4.3K 
[TXT]types.d.ts.map40 years ago3.6K 
[   ]types.js40 years ago3.3K 
README.md

MessageFormat Parser

Hand-written ICU MessageFormat parser with compatible output as intl-messageformat-parser but 6 - 10 times as fast.

$ node benchmark
complex_msg AST length 10861
normal_msg AST length 1665
simple_msg AST length 364
string_msg AST length 131

== Baseline ==
complex_msg x 4,884 ops/sec ±0.97% (91 runs sampled)
normal_msg x 40,113 ops/sec ±1.08% (92 runs sampled)
simple_msg x 200,401 ops/sec ±1.12% (91 runs sampled)
string_msg x 241,103 ops/sec ±0.84% (92 runs sampled)

== This package ==
complex_msg x 31,590 ops/sec ±0.80% (88 runs sampled)
normal_msg x 278,703 ops/sec ±0.83% (95 runs sampled)
simple_msg x 2,038,061 ops/sec ±0.90% (96 runs sampled)
string_msg x 2,392,794 ops/sec ±0.67% (96 runs sampled)
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80