Skip to main content
Module

x/jsbundle/mod.ts

Binary files for Javascript, used for Netrex.
Latest
import * as jsbundle from "https://deno.land/x/jsbundle@v1.0.6/mod.ts";

Variables

The header of each JSBundle

Whether or not this version is a developer version

The numeric version of JSBundle running

The version of JSBundle running

Functions

Bundles a directory asynchronously

Bundles a directory synchronously

Similar to loadBundle() except contents are only read, saved, and mapped, not imported. It is important to note that it is up to YOU the USER to remove the temporary files!

Loads a bundle into memory and returns the imports.

Unbundle a BundledFile

Synchronously unbundle a BundledFile

Interfaces

A bundledfile interface, used when unbundling and bundling.