An open API service indexing awesome lists of open source software.

https://github.com/jharrilim/thanks

Generate TypeScript functions for clicking anchor and button tags on a page
https://github.com/jharrilim/thanks

a button click codegen html stuff

Last synced: 8 months ago
JSON representation

Generate TypeScript functions for clicking anchor and button tags on a page

Awesome Lists containing this project

README

          

# Thanks

for the poopy codegen

## Example

Check out [this](./example/index.js) for how to use it, and [what gets generated from it](./example/generated/page.ts). You can remove the TypeScript bits from the code inside the functions and try it out at [https://jharrilim.github.io](https://jharrilim.github.io).

To fiddle with the example, just run `npm run build` so you have the js in ./dist, change the url in the `thanks()` function, and run `node example`.