npm repo deploy
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
/.venv
|
||||
/.vscode
|
||||
/node_modules
|
||||
.vercel
|
||||
|
||||
4
.npmignore
Normal file
4
.npmignore
Normal file
@@ -0,0 +1,4 @@
|
||||
/.vscode
|
||||
/.github
|
||||
/node_modules
|
||||
.vercel
|
||||
16
README.md
16
README.md
@@ -37,5 +37,21 @@ If you plan to use the already deployed Vercel version, you should use https://s
|
||||
node local.js 'YOUR_URL_HERE'
|
||||
```
|
||||
|
||||
### Library
|
||||
```bash
|
||||
npm install signtok
|
||||
```
|
||||
|
||||
```javascript
|
||||
const SignTok = require('signtok');
|
||||
|
||||
const signer = new SignTok();
|
||||
console.log(signer.sign('URL_HERE'));
|
||||
```
|
||||
|
||||
## TODO
|
||||
* Typescript typing
|
||||
* Publish to npm with Github Actions
|
||||
|
||||
## Credits
|
||||
* @H1W0XXX for providing a working X-Bogus script
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
"description": "Sign your TikTok requests easily",
|
||||
"repository": "https://github.com/pablouser1/SignTok",
|
||||
"author": "Pablo Ferreiro",
|
||||
"main": "src/Signer.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"keywords": ["tiktok", "tiktok-signer", "jsdom"],
|
||||
"scripts": {
|
||||
"start": "node api/index.js",
|
||||
"vercel-build": "yum -y install libuuid-devel libmount-devel && cp /lib64/{libuuid,libmount,libblkid}.so.1 node_modules/canvas/build/Release/"
|
||||
|
||||
Reference in New Issue
Block a user