Joined January 1, 2023
Public vals
14
BlobArray
joey
BlobArray
Blob Array Create an array as a Database, instantly! Just create a new val for your array: import { BlobArray } from "https://esm.town/v/joey/BlobArray"; type User = { email: string }; // specify the type inside the TS generic <> to define the type of your array export let myUserArray = BlobArray<User>("my-user-array"); Now import it and start using it in your vals! import { myUserArray } from "https://esm.town/v/joey/myUserArray"; // overwrite the entire array await myUserArray.set([{ email: "user1@gmail.com" }, { email: "user2@yahoo.com" }]); // get all the entries in your array const allUsers = await myUserArray.get(); // call any array method you want, just use "await" await myUserArray.push({ email: "johndoe@gmail.com" }); const gmailUsers = await myUserArray.filter(u => u.email.includes("@gmail.com"));
Script
helloWorld
joey
helloWorld
An interactive, runnable TypeScript val by joey
Script
myPublicVal
joey
myPublicVal
An interactive, runnable TypeScript val by joey
Script
joeysPublicArray
joey
joeysPublicArray
An interactive, runnable TypeScript val by joey
Script
emailOnGithubStar
joey
emailOnGithubStar
// Notifies you when you get a new star on your repo
Script
getGithubStarsForRepo
joey
getGithubStarsForRepo
// Returns stars on Github repo
Script
setPublicState
joey
setPublicState
An interactive, runnable TypeScript val by joey
RPC (deprecated)
PUBLIC_STATE
joey
PUBLIC_STATE
// set at Tue Feb 11 2025 22:17:41 GMT+0000 (Coordinated Universal Time)
Script
partitionArray
joey
partitionArray
// const [odd, even] = @joey.partitionArray([1,2,3,4,5,6], n=> n % 2 !== 0);
Script
untitled_sendForm
joey
untitled_sendForm
An interactive, runnable TypeScript val by joey
Script
renderStatusLogs
joey
renderStatusLogs
An interactive, runnable TypeScript val by joey
Script
renderObject
joey
renderObject
An interactive, runnable TypeScript val by joey
Script
fetchJSON
joey
fetchJSON
An interactive, runnable TypeScript val by joey
Script
sendDiscordMessage
joey
sendDiscordMessage
// add the bot to your server before calling:
Script
Next