Skip to content

skylvie/Syringe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syringe

String injection thingy

Installation

git clone https://github.com/skylvie/syringe
cd syringe
pnpm i
pnpm build
pnpm link --global

Usage

syringe -i ./input.js -o ./out.js -s ./data/

How It Works

Lets say input.js contains:

const a = "/* @SYRINGE-INJECT: test.txt */";

Inside of data/ there is a filed called text.txt that contains:

hello
world

out.js will look like:

const a = "hello\nworld";

About

String injection thingy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors