npm repo deploy

This commit is contained in:
Pablo Ferreiro
2022-08-12 14:44:51 +02:00
parent 0e4e612c3c
commit 9ed79c89d2
4 changed files with 22 additions and 2 deletions

View File

@@ -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