Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1<div align="center">2 <img src="logo.png" alt="mrmime" width="320" />3</div>4 5<div align="center">6 <a href="https://npmjs.org/package/mrmime">7 <img src="https://badgen.now.sh/npm/v/mrmime" alt="version" />8 </a>9 <a href="https://github.com/lukeed/mrmime/actions">10 <img src="https://github.com/lukeed/mrmime/workflows/CI/badge.svg" alt="CI" />11 </a>12 <a href="https://licenses.dev/npm/mrmime">13 <img src="https://licenses.dev/b/npm/mrmime" alt="licenses" />14 </a>15 <a href="https://npmjs.org/package/mrmime">16 <img src="https://badgen.now.sh/npm/dm/mrmime" alt="downloads" />17 </a>18 <a href="https://packagephobia.now.sh/result?p=mrmime">19 <img src="https://packagephobia.now.sh/badge?p=mrmime" alt="install size" />20 </a>21</div>22 23<div align="center">24 A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename25</div>26 27 28## Features29 30* Lightweight – 2.8kB gzip<br>31 _Only includes standard mime types; all experimental and vendor-specific mimetypes removed._32 33* [Performant](#benchmarks)<br>34 _All lookups are O(1) with minimal processing._35 36* Comprehensive Dictionary<br>37 _Generated from [`mime-db`](https://github.com/jshttp/mime-db), which aggregates the IANA, NGINX, and Apache datasets._38 39* Customizable<br>40 _Exposes the `mimes` dictionary for easy additions or overrides._41 42* Supports Native ESM and [Deno](https://deno.land/x/mrmime)<br>43 _Ships with CommonJS and ESM support!_44 45 46## Install47 48```49$ npm install --save mrmime50```51 52 53## Usage54 55```js56import { lookup, mimes } from 'mrmime';57 58// Get a MIME type59// ---60lookup('txt'); //=> "text/plain"61lookup('.txt'); //=> "text/plain"62lookup('a.txt'); //=> "text/plain"63 64// Unknown extension65// ---66lookup('.xyz'); //=> undefined67 68// Add extension to dictionary69// ---70mimes['xyz'] = 'hello/world';71lookup('xyz'); //=> "hello/world"72```73 74 75## API76 77### lookup(input)78Returns: `string` or `undefined`79 80#### input81Type: `string`82 83The extension or filename to lookup.84 85> **Important:**86> * Any `input` value is cast to string, lowercased, and trimmed.87> * If a filename or filepath is provided, only the extension will be used.88 89 90## Benchmarks91 92> Running on Node v16.8.093 94```95Load times:96 mrmime 0.963ms97 mime/lite 3.281ms98 mime 6.751ms99 100Benchmark :: plain ("ext")101 mime x 598,849 ops/sec ±0.28% (94 runs sampled)102 mime/lite x 536,643 ops/sec ±0.11% (97 runs sampled)103 mrmime x 835,885 ops/sec ±0.20% (97 runs sampled)104 105Benchmark :: leading (".ext")106 mime x 368,656 ops/sec ±0.19% (99 runs sampled)107 mime/lite x 368,318 ops/sec ±0.13% (97 runs sampled)108 mrmime x 533,643 ops/sec ±0.10% (96 runs sampled)109 110Benchmark :: filename ("file.ext")111 mime x 326,907 ops/sec ±0.17% (95 runs sampled)112 mime/lite x 327,479 ops/sec ±0.12% (98 runs sampled)113 mrmime x 512,823 ops/sec ±0.12% (99 runs sampled)114```115 116 117## Credits118 119Of course, a thank-you to [`mime`](https://github.com/broofa/mime) serving the community all these years & for being a all-encompassing MIME type library. I've only ever needed lookup/`getType` functionality – and now ESM support – so `mrmime` can only ever support 1/3 of what `mime` offers, at best.120 121This would not be possible without the team behind [`mime-db`](https://github.com/jshttp/mime-db), who have painstakingly maintained an amazing database for 7+ years.122 123Artwork created by [mintinol](https://www.deviantart.com/mintinol), which I found [here](https://www.deviantart.com/mintinol/art/Mr-Mime-373927920).124 125Finally, thanks to [Tim Branyen](https://github.com/tbranyen) for donating the package name :)126 127 128## License129 130MIT © [Luke Edwards](https://lukeed.com)131 