Skip to content

Instantly share code, notes, and snippets.

@PatrickHeneise
Created September 16, 2024 19:05
Show Gist options
  • Save PatrickHeneise/c21aba158085b5dd1165b6239453c8f8 to your computer and use it in GitHub Desktop.
Save PatrickHeneise/c21aba158085b5dd1165b6239453c8f8 to your computer and use it in GitHub Desktop.
body-parser-ts
import bodyParser from "@zentered/issue-forms-body-parser";
const issueData = await bodyParser({});
console.log(issueData);
{
"type": "module",
"dependencies": {
"@zentered/issue-forms-body-parser": "^2.2.0"
},
"devDependencies": {
"typescript": "^5.6.2"
}
}
{
"compilerOptions": {
"target": "ES2023",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"typeRoots": ["./types"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true
}
}
declare module "@zentered/issue-forms-body-parser";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment