diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2018-12-19 15:30:44 +1100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-18 23:30:44 -0500 |
| commit | a3d164df917536c702775af1937569825fc5ceaf (patch) | |
| tree | 13442b0e8d95049d9220c4477e3da7a941768f1a /README.md | |
| parent | 2d58da520fffaeaee1bceeb33b6e3dc339ea68a3 (diff) | |
Add colors module (denoland/deno_std#30)
Original: https://github.com/denoland/deno_std/commit/54787f172c62df7c98d8e9e534c40e317825e614
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 30 |
1 files changed, 9 insertions, 21 deletions
@@ -2,27 +2,15 @@ [](https://travis-ci.com/denoland/deno_std) -Usage: +This repository contains collections of modules that create a standard library +for Deno. -```typescript -import { serve } from "https://deno.land/x/net/http.ts"; -const s = serve("0.0.0.0:8000"); +| Collection | Description | +| ---------------------------- | --------------------------------------------------------------- | +| [colors](./colors/README.md) | Modules that generate ANSI color codes for the console. | +| [net](./net/README.md) | A framework for creating HTTP/HTTPS servers inspired by GoLang. | +| [path](./path/README.md) | A path manipulation library. | -async function main() { - for await (const req of s) { - req.respond({ body: new TextEncoder().encode("Hello World\n") }); - } -} - -main(); -``` - -## File Server - -A small program for serving local files over HTTP. - -Add the following to your `.bash_profile` -``` -alias file_server="deno https://deno.land/x/net/file_server.ts --allow-net" -``` +--- +Copyright 2018 the Deno authors. All rights reserved. MIT license. |
