Created
September 16, 2024 19:05
-
-
Save PatrickHeneise/c21aba158085b5dd1165b6239453c8f8 to your computer and use it in GitHub Desktop.
body-parser-ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bodyParser from "@zentered/issue-forms-body-parser"; | |
const issueData = await bodyParser({}); | |
console.log(issueData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "module", | |
"dependencies": { | |
"@zentered/issue-forms-body-parser": "^2.2.0" | |
}, | |
"devDependencies": { | |
"typescript": "^5.6.2" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "ES2023", | |
"module": "NodeNext", | |
"moduleResolution": "NodeNext", | |
"typeRoots": ["./types"], | |
"esModuleInterop": true, | |
"forceConsistentCasingInFileNames": true, | |
"strict": true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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