Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nakasyou/deno.py


https://github.com/nakasyou/deno.py

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# deno.py
```python
from denopy import Deno, promise_await

deno = 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', '/')
```