0.1.29 • Published 4 months ago
jt-factory v0.1.29
JT Factory
A module to convert static markdown files into a json consumable useful format. It should be able to handle static assets, doing usual expected frontend stuff like converting images to be responsive and hashing static assets
Roadmap
- Load config file and also have very valid defaults ✅
- Transform .md files into json ✅
- Transform frontmatter in .md files into json ✅
- Find and transform image files into responsive picture element valid attributes ✅
- Extract colour points from image ✅
- Support property transform handling (to allow for things like relationship lookups) ✅
- Support a dev mode that spins up a server to serve IFS paths ✅
- Utility function to find all data files for route manifest ✅
- Caching for aiding image conversion ❌
- Marked plugin for decomposing image in markdown ❌
- An exported relational transform module, for running transforms on related markdown files ✅
Further
- Video first frame module ❌
- Animated image module ❌
Installation
npm i jt-factory
Vite Plugin
This will let the images be served much quicker through the vite server, so you dont have to sit around for the images to be built
import { TransformServer } from 'jt-factory/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
TransformServer()
]
});
0.1.10
4 months ago
0.1.11
4 months ago
0.1.12
4 months ago
0.1.13
4 months ago
0.1.14
4 months ago
0.1.15
4 months ago
0.1.29
4 months ago
0.1.20
4 months ago
0.1.21
4 months ago
0.1.22
4 months ago
0.1.23
4 months ago
0.1.24
4 months ago
0.1.25
4 months ago
0.1.26
4 months ago
0.1.2
4 months ago
0.1.16
4 months ago
0.1.8
4 months ago
0.1.17
4 months ago
0.1.7
4 months ago
0.1.18
4 months ago
0.1.19
4 months ago
0.1.9
4 months ago
0.1.4
4 months ago
0.1.3
4 months ago
0.1.6
4 months ago
0.1.5
4 months ago
0.1.1
4 months ago
0.1.0
4 months ago
0.0.1
4 months ago