v2.0.1
Simplify processing for Deno.
Repository
Current version released
9 months ago
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 utilities to improve usability.
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.
Actual binary structure looks like this:
Index | Label | Size (byte) |
---|---|---|
1 | NameSize | 1 |
2 | BodySize | 4 |
3 | Name | Max 255 (by NameSize) |
4 | Body | Max 4294967295 (by BodySize) |
This structure is repeats for number of files.
Export
This module has several variations depending on usage.
Module Name |
All Features |
No Dependency |
Browser Compatible |
Description |
---|---|---|---|---|
mod.ts |
β | β | β | Most standard, basically using with Deno. |
mod.full.ts |
β | β | β | All features available. |
mod.pure.ts |
β | β | β | Without Deno , basically using with browser. |
mod.pure.full.ts |
β | β | β | All features of pure script available. |
Export without external dependencies have fewer features than full, but not susceptible to external module vulnerabilities.
When used in browser available via esm.sh.
<script>
import {fetchExtend} from "https://esm.sh/gh/dojyorin/deno_simple_utility@version/mod.pure.ts?bundle&target=esnext";
</script>
API
See Deno Document for details.