Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nakasyou/deno.py
https://github.com/nakasyou/deno.py
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nakasyou/deno.py
- Owner: nakasyou
- License: mit
- Created: 2023-09-10T07:25:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-10T07:37:39.000Z (about 1 year ago)
- Last Synced: 2024-10-11T17:44:05.714Z (27 days ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deno.py
```python
from denopy import Deno, promise_awaitdeno = Deno()
text = promise_await(deno.global.Deno.readTextFile('./text.txt')) # Call Deno API
router = deno.import('https://deno.land/x/[email protected]/router/reg-exp-router/index.ts').RegExpRouter()
router.add('GET', '/', 0)
router.match('GET', '/')
```