{"_rev":"43-ea90f23e87edab566d79d58fa9f7a128","time":{"created":"2024-01-29T14:01:26.403Z","0.0.1":"2024-01-25T19:07:56.065Z","modified":"2024-01-29T14:01:26.844Z","0.1.0":"2024-01-25T19:53:58.880Z","0.1.1":"2024-01-25T20:33:43.535Z","0.1.2":"2024-01-27T15:11:17.133Z","0.1.3":"2024-01-27T15:20:13.526Z","0.1.4":"2024-01-27T16:11:44.278Z","0.1.5":"2024-01-28T09:45:59.251Z","0.1.6":"2024-01-28T10:23:27.071Z","0.1.7":"2024-01-28T10:30:07.496Z","0.1.8":"2024-01-28T11:10:52.478Z","0.1.9":"2024-01-28T11:11:39.929Z","0.1.10":"2024-01-28T11:13:36.855Z","0.1.11":"2024-01-28T11:18:39.821Z","0.1.12":"2024-01-28T11:22:28.010Z","0.1.13":"2024-01-28T11:23:29.846Z","0.1.14":"2024-01-28T11:24:53.453Z","0.1.15":"2024-01-28T11:27:40.377Z","0.1.16":"2024-01-28T11:32:21.714Z","0.1.17":"2024-01-28T11:33:28.528Z","0.1.18":"2024-01-28T11:35:48.728Z","0.1.19":"2024-01-28T11:37:59.464Z","0.1.20":"2024-01-28T11:43:00.808Z","0.1.21":"2024-01-28T11:58:13.385Z","0.1.22":"2024-01-28T11:59:51.070Z","0.1.23":"2024-01-28T12:02:16.185Z","0.1.24":"2024-01-28T12:06:23.456Z","0.1.25":"2024-01-28T12:08:16.657Z","0.1.26":"2024-01-28T12:11:35.890Z","0.1.29":"2024-01-29T14:01:26.620Z"},"_id":"jt-factory","name":"jt-factory","dist-tags":{"latest":"0.1.29"},"versions":{"0.1.29":{"name":"jt-factory","version":"0.1.29","main":"dist/main.js","license":"MIT","author":{"name":"Jonny Thaw","email":"hi@jthaw.me"},"repository":{"type":"git","url":"git+https://github.com/jthawme/factory.git"},"keywords":["markdown","markdown transform","cms build tool","static cms"],"bin":{"jt-factory":"dist/cli.js"},"exports":{".":"./dist/main.js","./vite":"./dist/vite.js"},"dependencies":{"chroma-js":"^2.4.2","express":"^4.18.2","front-matter":"^4.0.2","fs-extra":"^11.2.0","glob":"^10.3.10","hasha":"^6.0.0","marked":"^11.1.1","mergician":"^2.0.0","mime-types":"^2.1.35","sharp":"^0.33.2"},"type":"module","devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5"},"scripts":{"build":"rimraf dist && rollup -c","dev":"rollup -c --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","release":"npm run build && npm version patch --force && npm publish","release:minor":"npm run build && npm version minor --force && npm publish","release:major":"npm run build && npm version major --force && npm publish"},"jest":{"transform":{}},"bugs":{"url":"https://github.com/jthawme/factory/issues"},"homepage":"https://github.com/jthawme/factory","packageManager":"yarn@4.0.2","_id":"jt-factory@0.1.29","gitHead":"3ba64915f4db3f91ad99d362549ac070be05719d","description":"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","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-OLSj1TQ/vMX1mzE0VPPLwjay8U0lk+kFJLiwb0NPmJNprln+ae+ODMoej86FdtKiQKTlvhere3PzLPU0y2YkOQ==","shasum":"07ae362065af4bcff26e5d416b208d970a2bc788","tarball":"https://registry.npmjs.org/jt-factory/-/jt-factory-0.1.29.tgz","fileCount":39,"unpackedSize":2759136,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtSq07M2AQJOaOlVyk06QbroMGAHRUvbF+5wfrAUfiPgIgMJQH+bOcC2gIWJO4vWxdSzPY9JfnSCMKzKZ0DysFNKE="}]},"_npmUser":{"name":"jthawme","email":"hi@jthaw.me"},"directories":{},"maintainers":[{"name":"jthawme","email":"hi@jthaw.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jt-factory_0.1.29_1706536886404_0.8345829515608683"},"_hasShrinkwrap":false}},"maintainers":[{"name":"jthawme","email":"hi@jthaw.me"}],"description":"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","homepage":"https://github.com/jthawme/factory","keywords":["markdown","markdown transform","cms build tool","static cms"],"repository":{"type":"git","url":"git+https://github.com/jthawme/factory.git"},"author":{"name":"Jonny Thaw","email":"hi@jthaw.me"},"bugs":{"url":"https://github.com/jthawme/factory/issues"},"license":"MIT","readme":"# JT Factory\n\nA 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\n\n## Roadmap\n\n- Load config file and also have very valid defaults ✅\n- Transform .md files into json ✅\n- Transform frontmatter in .md files into json ✅\n- Find and transform image files into responsive picture element valid attributes ✅\n- Extract colour points from image ✅\n- Support property transform handling (to allow for things like relationship lookups) ✅\n- Support a dev mode that spins up a server to serve IFS paths ✅\n- Utility function to find all data files for route manifest ✅\n- Caching for aiding image conversion ❌\n- Marked plugin for decomposing image in markdown ❌\n- An exported relational transform module, for running transforms on related markdown files ✅\n\n### Further\n\n- Video first frame module ❌\n- Animated image module ❌\n\n## Installation\n\n[![https://nodei.co/npm/jt-factory.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/jt-factory.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/jt-factory)\n\n```\nnpm i jt-factory\n```\n\n## Vite Plugin\n\nThis 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\n\n```\nimport { TransformServer } from 'jt-factory/vite';\nimport { defineConfig } from 'vite';\n\nexport default defineConfig({\n\tplugins: [\n    TransformServer()\n  ]\n});\n\n```\n","readmeFilename":"README.md"}