https://github.com/enncy/jpptr
a json syntactic sugar for execute puppeteer 一个使用 json 语法糖去执行 puppeteer 的框架
https://github.com/enncy/jpptr
headless-chrome jpptr json nodejs puppeteer syntatic-sugar typescript
Last synced: 23 days ago
JSON representation
a json syntactic sugar for execute puppeteer 一个使用 json 语法糖去执行 puppeteer 的框架
- Host: GitHub
- URL: https://github.com/enncy/jpptr
- Owner: enncy
- License: mit
- Created: 2022-01-09T13:14:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T17:14:17.000Z (about 3 years ago)
- Last Synced: 2025-04-13T15:05:22.652Z (23 days ago)
- Topics: headless-chrome, jpptr, json, nodejs, puppeteer, syntatic-sugar, typescript
- Language: TypeScript
- Homepage: https://enncy.github.io/jpptr-docs/
- Size: 729 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en-US.md
- License: LICENSE
Awesome Lists containing this project
README
# Jpptr
    
[中文](https://github.com/enncy/jpptr/blob/main/README.md) | [English](https://github.com/enncy/jpptr/blob/main/README.en-US.md)
[Document](https://enncy.github.io/jpptr-docs/) | [API](https://github.com/enncy/jpptr/blob/main/docs/api.md) | [Sample](https://github.com/enncy/jpptr/tree/main/sample)
> a json syntactic sugar for execute puppeteer.
> Jpptr use json to execute puppeteer, just as you can use javascript to execute puppeteer.
- you can extend the functionality as much as you want.
- you can dynamically add and modify events.
- and more...## Example
```json
["goto","https://example.com"]
```
parse to
```json
{
"use":"function",
"name":"goto",
"args":["https://example.com"]
}
```
finally
```js
page.goto("https://example.com")
```## Document
https://enncy.github.io/jpptr-docs/
## APIhttps://github.com/enncy/jpptr/blob/main/docs/api.md
## Sample
https://github.com/enncy/jpptr/tree/main/sample