0.0.1 • Published 11 months ago
lf-img v0.0.1
lf-img
A local first image manager for static sites
Set Up
# TODO
# npx lf-img init
# TODO
# npx lf-img move -f ./path/to/image.png
Dev usage
pnpm run build
node dist/index.js init
# move an image
node dist/index.js move --file ./path/to/image.png --name image.png --upsert
The config.json
file is used to store the target directory for the images.
Roadmap
- move file to a configured directory
- rename file
- prevent unintentional overwrites
- resize image?
- compress image?
0.0.1
11 months ago