2
0
Fork
You've already forked scratchattach.ts
0
[ARCHIVED UNTIL FURTHER NOTICE]Typescript package based on the scratchattach python library.
This repository has been archived on 2026年05月13日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 99.6%
  • JavaScript 0.4%
Find a file
2025年08月31日 08:06:22 +01:00
.github/workflows fix: let's not test on publish 2025年08月31日 08:06:22 +01:00
src fix: actually print debug info 2025年08月31日 08:03:22 +01:00
tests test: print username 2025年08月31日 06:24:36 +01:00
.gitignore Initial commit 2025年08月30日 22:03:13 +01:00
jest.config.js Initial commit 2025年08月30日 22:03:13 +01:00
LICENSE Initial commit 2025年08月30日 22:03:13 +01:00
package-lock.json Initial commit 2025年08月30日 22:03:13 +01:00
package.json fix: let's not test on publish 2025年08月31日 08:06:22 +01:00
readme.md docs: links 2025年08月31日 07:00:56 +01:00
tsconfig.json fix: optional typing 2025年08月31日 06:53:56 +01:00
tsup.config.ts Initial commit 2025年08月30日 22:03:13 +01:00

scratchattach

The official python version is available here.

npm: https://www.npmjs.com/package/scratchattach.ts source: https://github.com/scratch-api/scratchattach.ts/

This typescript clone is far from feature complete.

scratchattach is a Scratch API wrapper with support for almost all site features

scratchattach pkg tree

Note it is only loosely based on it, and will probably not provide so many abstractions

if you want a typescript version of scratchattach, i dont recommend using this. I do not know typescript, but i can code it. But that does not mean my code is good.

differences from python scratchattach

  • timouts are in milliseconds, not seconds
  • async using promises
  • currently no warning message when logging in
  • uses the master branch instead of main

Should these be changed? Make an issue on github if you think so.