Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T17:14:17.000Z (almost 3 years ago)
- Last Synced: 2024-09-14T12:57:32.421Z (3 months 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
![GitHub top language](https://img.shields.io/github/languages/top/enncy/jpptr) ![GitHub repo size](https://img.shields.io/github/repo-size/enncy/jpptr) ![npm](https://img.shields.io/npm/v/jpptr) ![npm](https://img.shields.io/npm/dw/jpptr) ![GitHub](https://img.shields.io/github/license/enncy/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