char-slop/stars.hackery.site
git clone https://git.t4t.associates/char-slop/stars.hackery.site
018d966
main
1import * as l from "@cerulea/lexicon" ; 2import { Follow , Star } from "./records.ts" ; 3 4for ( const lexicon of l . toLexicons ( Star , Follow )) { 5await Deno . mkdir ( "lexicons" , { recursive :true }); 6await Deno . writeTextFile ( 7`lexicons/ ${ lexicon . id } .json` , 8JSON . stringify ( lexicon , null , 2 ) + "\n" , 9); 10}