Skip to content

Mutefish0/bin2ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bin2ts

Convert binary file to inline ts using base64 encoding.

Usage

convert file:

deno run jsr:@mutefis/bin2ts -o a.js a.png

import:

import raw from "./a.js";
console.log(raw); // Uint8Array

Node-API

deno run jsr:@mutefis/bin2ts -o a.js a.node

exported object:

import mod from "./a.js";
console.log(mod); // object

About

Convert binary file to inline ts using base64 encoding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors