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
- Host: GitHub
- URL: https://github.com/jharrilim/thanks
- Owner: jharrilim
- License: mit
- Created: 2019-10-14T00:16:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:39:12.000Z (over 3 years ago)
- Last Synced: 2025-05-31T20:56:41.538Z (11 months ago)
- Topics: a, button, click, codegen, html, stuff
- Language: TypeScript
- Homepage:
- Size: 218 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.