Skip to content

Commit 1a83a87

Browse files
committed
πŸ“ Update readme
1 parent ed58ebe commit 1a83a87

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

β€Žreadme.mdβ€Ž

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,39 @@
11
# Eloquent JavaScript
22

3+
[![Code Coverage](https://codecov.io/gh/ultirequiem/eloquent-javascript/branch/main/graph/badge.svg)](https://codecov.io/gh/ultirequiem/eloquent-javascript)
4+
[![Deno Doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/eloquent/mod.ts)
5+
36
[Read the book for free!](https://eloquentjavascript.net) πŸ“–
47

58
I solved the exercises using TypeScript and Test Driven Development.
69

710
> [A cool TDD Tutorial](https://github.com/dwyl/learn-tdd)
811
12+
## Usage
13+
14+
The API is the same on all this platforms βœ”οΈ
15+
16+
### [Deno πŸ¦•](https://deno.land/x/eloq)
17+
18+
``javascript import { randomTimeZone } from
19+
"https://deno.land/x/eloquent/mod.ts";
20+
21+
console.log(`My timezone is ${randomTimeZone()}`); ``
22+
23+
### [Node.js πŸ’πŸš€](https://npmjs.com/package/eloq)
24+
25+
`javascript import { timeZones } from "eloq";`
26+
27+
### [Browser 🌐](https://developer.mozilla.org/en-US/docs/Glossary/Browser)
28+
29+
You can use any [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) πŸ”₯
30+
31+
Eg πŸ‘‰
32+
[ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) ↔️
33+
[SkyPack](https://cdn.skypack.dev/eloq) πŸ†š
34+
[Script Tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script)
35+
↔️ [JSDelivr](https://cdn.jsdelivr.net/npm/eloq)
36+
937
## Documentation
1038

1139
Is hosted on

0 commit comments

Comments
Β (0)