https://github.com/txthinking/denobundle
Bundle assets into the binary with deno compile
https://github.com/txthinking/denobundle
assets binary bundle compile deno fake-file-system static
Last synced: 3 months ago
JSON representation
Bundle assets into the binary with deno compile
- Host: GitHub
- URL: https://github.com/txthinking/denobundle
- Owner: txthinking
- License: mit
- Created: 2022-03-22T05:16:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T13:25:14.000Z (about 3 years ago)
- Last Synced: 2025-03-19T05:55:50.497Z (3 months ago)
- Topics: assets, binary, bundle, compile, deno, fake-file-system, static
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: license
Awesome Lists containing this project
README
# denobundle
Bundle assets into the binary with deno compile
Install via [nami](https://github.com/txthinking/nami)
```
nami install denobundle
```Usage
```
static/
└── hello.txt
``````
denobundle static bundle.js
``````
import readFileSync from './bundle.js';var data = readFileSync("static/hello.txt"); // Uint8Array
```