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: v19View latest version
- Add target="top" to all links to "val.town"
- Fix the
readFiletype to take two strings and return a Promise of string or undefined. Audit all the other types for issues like this. - Add js syntax highlighting for the function signature and the example.
Strip the
tsfrom the example - Add precise type information for all inputs and outputs. Users should know exactly every field of every input and every output type.
- Improve the placement of the view source link - it should be directly under the function's name header. It should just say "view source"
- The view source link should link to the whole function range, not just the first line.
- Linkify all the function names with hash-based id links
- Add a left panel sidebar table of contents thing, organized by category, inspired by lodash
- At the top of the docs, link to the utils val
- At the top of the docs, explain the purpose of these vals
- In the read, list file vals, explain how val town doesn't have file access so it can more cheaply and scalably provide a serverless runtime, but you can use these utils which read your val files via the val town api
- Consider linking to all test for each function near its documentation
