Skip to content

Commit

Permalink
Use Effect
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Dec 4, 2023
1 parent 5a75c53 commit fd9355b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"node": "20",
"npm": "9 || 10"
},
"type": "module",
"dependencies": {
"effect": "^2.0.0-next.58"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node20": "^20.1.2",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
console.log('hello')
import { Effect } from 'effect'

await Effect.runPromise(Effect.logInfo('hello'))

0 comments on commit fd9355b

Please sign in to comment.