Skip to content
/ assetfs Public

This package can embed binary data into a deno source code

Notifications You must be signed in to change notification settings

TMaize/assetfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assetfs

This package can embed binary data into a deno source code.

You can embed configuration files into source code, and build single file by deno bundle.

Usage

deno run --allow-read --allow-write https://deno.land/x/assetfs/build.ts --input ./example --output example_data.ts

Or installs as an executable file

deno install --allow-read --allow-write -n assetfs_build https://deno.land/x/assetfs/build.ts
assetfs_build --input ./example --output example_data.ts

example.ts

import * as fs from './example_data.ts'

About

This package can embed binary data into a deno source code

Resources

Stars

Watchers

Forks

Packages

No packages published