Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

BoltDoggy/deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno.BoltDoggy.com

Some modules for Deno.

  • 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.

# install
deno https://deno.boltdoggy.com/x/dpm/install.js

# using
dpm <remote_url> <command_name> # 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.

# install
dpm https://deno.boltdoggy.com/x/dcc/mod.js dcc

# using
dcc <remote_url> # remove cache for this remote_url
# or
dcc --all # or dcc -a, remove all cache

denohup

deno nohup, like pm2 of node.

# install
dpm https://deno.boltdoggy.com/x/denohup/mod.ts denohup

# using
denohup start <deno_file> # 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!;

About

Some modules for Deno.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published