utils
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v61View latest version
Do one task at a time. Start the task. Confirm it works in the browser. Mark it done. Do the tasks in order.
- Rewrite _docs.ts to use Hono JSX (no html strings) and twind for css.
- Fix the
readFiletype to take two strings and return a Promise of string or undefined. - Audit all the type signatures of all the functions and replace
anywith better types - Add ts syntax highlighting for the function signature and the example.
Strip the
tsfrom the examples - Add precise type information for all inputs and outputs. Users should know exactly every field of every input and every output type.
- The note about file-system access belongs both at the top of the docs and also briefly mentioned in the readfile and listfile functions too.
- (For later) Augment the docs generator with test information.
