Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BoltDoggy/deno
Some modules for Deno.
https://github.com/BoltDoggy/deno
deno
Last synced: 3 months ago
JSON representation
Some modules for Deno.
- Host: GitHub
- URL: https://github.com/BoltDoggy/deno
- Owner: BoltDoggy
- Archived: true
- Created: 2019-02-15T06:22:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T02:57:40.000Z (over 3 years ago)
- Last Synced: 2024-04-27T05:37:08.297Z (7 months ago)
- Topics: deno
- Language: TypeScript
- Homepage: https://deno.boltdoggy.com/
- Size: 16.6 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-deno-cn - @BoltDoggy/dpm
- awesome-deno - dpm - Deno Package Manager, install global command for deno. like denoget.![GitHub stars](https://img.shields.io/github/stars/BoltDoggy/deno?style=plastic) (Tools / Online Playgrounds)
- awesome-deno - dpm - Deno软件包管理器,为Deno安装全局命令。 类似 denoget。 (Uncategorized / Uncategorized)
- awesome-deno - BoltDoggy/deno#dpm - Deno Package Manager, install global command for deno. like denoget. (Tools / XML)
README
# Deno.BoltDoggy.com
Some modules for [Deno](https://deno.land/).
- dpm - deno package manager, install global command for deno.
- dcc - deno cache clean, reloading deps when next running.
- denohup - deno nohup, like pm2 of node.
- derver - deno simple server, create a ts file, and respond your body, just like a static server.## dpm `deprecated`
> !!! deprecated !!!, use `deno install` instead of
deno package manager, install global command for deno.
``` sh
# install
deno https://deno.boltdoggy.com/x/dpm/install.js# using
dpm # install command of this remote_url to global
# more examples, you can see `install of dcc`.
```## dcc
deno cache clean, reloading deps when next running.
```sh
# install
dpm https://deno.boltdoggy.com/x/dcc/mod.js dcc# using
dcc # remove cache for this remote_url
# or
dcc --all # or dcc -a, remove all cache
```## denohup
deno nohup, like pm2 of node.
```sh
# install
dpm https://deno.boltdoggy.com/x/denohup/mod.ts denohup# using
denohup start # start a server
# example: denohup start https://deno.boltdoggy.com/x/denohup/test.ts
# or
denohup ls # list pid of this server
# or
denohup stop # stop this server
```## derver
deno simple server, create a ts file, and respond your body, just like a static server.
```
# install
dpm https://deno.boltdoggy.com/x/derver/mod.ts derver# using
derver# or use denohup
denohup start https://deno.boltdoggy.com/x/derver/mod.ts
# and you will nohup
```create `./xxx.ts`:
```
req.respond({ body: new TextEncoder().encode("Hello Doggy!") });// you can use req / deno / config, but can't import by yourself.
```visit `http://127.0.0.1:8000/xxx`, you will got `Hello Doggy!`;