https://github.com/afeiship/gm-sdk
Sdk for tampermonkey based on jQuery/nx.
https://github.com/afeiship/gm-sdk
ajax gm greasyfork http jquery next sdk tampermonkey xhr
Last synced: about 1 month ago
JSON representation
Sdk for tampermonkey based on jQuery/nx.
- Host: GitHub
- URL: https://github.com/afeiship/gm-sdk
- Owner: afeiship
- Created: 2020-07-07T10:53:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-15T06:21:07.000Z (11 months ago)
- Last Synced: 2025-05-22T22:09:49.642Z (11 months ago)
- Topics: ajax, gm, greasyfork, http, jquery, next, sdk, tampermonkey, xhr
- Language: JavaScript
- Homepage:
- Size: 241 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gm-sdk
Sdk for tampermonkey based on jQuery/nx.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```shell
npm i @jswork/gm-sdk
```
## sdks
| api | description |
| ----- | -------------------------------------- |
| $ | jquery(You need requre it by yourself) |
| nx | @jswork/next |
| gmsdk | - |
## gmsdk apis
| api | description |
| ------------- | ----------------------- |
| `http` | gm-sdk |
| `store` | gm-sdk |
| `NxGmApi.log` | From tampermonkey apis. |
## usage
```js
// @require https://cdn.jsdelivr.net/npm/@jswork/gm-sdk
// or lock the version
// @require https://cdn.jsdelivr.net/npm/@jswork/gm-sdk@1.0.0
```
## resources
- https://www.tampermonkey.net/documentation.php
- https://github.com/afeiship/next-gm-api
## license
Code released under [the MIT license](https://github.com/afeiship/gm-sdk/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/gm-sdk
[version-url]: https://npmjs.org/package/@jswork/gm-sdk
[license-image]: https://img.shields.io/npm/l/@jswork/gm-sdk
[license-url]: https://github.com/afeiship/next-guid/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/gm-sdk
[size-url]: https://github.com/afeiship/next-guid/blob/master/dist/next-guid.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/gm-sdk
[download-url]: https://www.npmjs.com/package/@jswork/gm-sdk