v1.4.3
Simplify processing for Deno.
Repository
Current version released
a year ago
Dependencies
std
Versions
- v2.3.2Latest
- v2.3.1
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.0
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.0
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
Deno Simple Utility
Useful snippet collection.
Details
Collection of thin snippets to improve usability, some features are unique to this module. This section describes the unique features of this module.
Minipack
“Minipack” is file archive format unique to this module.
Originally developed for browser, purpose was concatenate multiple files input with DOM File API to single binary. So no concept of filesystem, features by simple and minimal structure that stores only binary and name.
The actual binary structure looks like this:
Index | Type | Title | Size |
---|---|---|---|
1 | Header | NameSize | 1 |
2 | Header | ContentSize | 4 |
3 | Body | Name | Max 255 (Defined in NameSize) |
4 | Body | Content | Max 4294967295 (Defined in ContentSize) |
This structure is repeats for the number of files.
Browser
Collected only parts of this module that not use the Deno
namespace and prepared as browser-compatible code to mod.universal.ts
.
You can use script from esm.sh.
import {fetchExtend} from "https://esm.sh/gh/dojyorin/deno_simple_utility@version/mod.universal.ts?bundle&target=esnext";
API
See Deno Document for details.