mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
https://github.com/trekhleb/javascript-algorithms?tab=readme-ov-file super cool repo! This algorithm will just run on the client, if it isn't my server will blow up :( Maybe I will just make a postgres db that sends the users processing info to save other users processing power?
7 lines
146 B
TypeScript
7 lines
146 B
TypeScript
import sql from "~/server/components/postgres";
|
|
export default defineEventHandler(async (event) => {
|
|
return {
|
|
words: ["violence"],
|
|
};
|
|
});
|