This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
App, | |
TemplatedApp, | |
WebSocket, | |
WebSocketBehavior, | |
SHARED_COMPRESSOR, | |
// eslint-disable-next-line camelcase | |
us_listen_socket_close | |
} from 'uWebSockets.js' | |
import { v4 as uuidv4 } from 'uuid' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this is a paragraph parser service class */ | |
class ParagraphParserService { | |
constructor () { | |
this.n = ` | |
` | |
this.line = ` | |
` | |
} | |
addNewLineAfterSentence ({ paragraphOfText }) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Knick Knack Steam Bot | |
* | |
* Consumes all knick-knacks in Your steam inventory | |
* | |
* - Go to https://steamcommunity.com/my/inventory#753_6 | |
* - Wait for inventory to load | |
* - Press F12 | |
* - Paste the code in console tab | |
* |