API reference
The petty.* API
Every namespace injected into your plugin's JavaScript context. Each page is generated from petty.d.ts — the same file that gives your plugin editor autocomplete — so what you read here is exactly what ships in Petty.
petty.pet
8 methods.
petty.system
4 methods.
petty.storage
3 methods.
petty.settings
3 methods.
petty.rateLimit
3 methods.
petty.schedule
3 methods.
petty.menu
3 methods.
petty.events
3 methods.
petty.quips
3 methods.
petty.log
5 methods.
petty.calendar
calendar2 methods.
petty.weather
weather1 method.
petty.clipboard
clipboard2 methods.
petty.activeApp
active-app1 method.
petty.network
network1 method.
petty.exec
exec2 methods.
petty.tts
tts-provider2 methods.
petty.fileActions
file-actions2 methods.