@danielx/civet 0.2.16 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,9 +3,10 @@ Civet
3
3
 
4
4
  [![Build](https://github.com/DanielXMoore/Civet/actions/workflows/build.yml/badge.svg)](https://github.com/DanielXMoore/Civet/actions/workflows/build.yml)
5
5
 
6
- A new CoffeeScript. Much closer to ES2015+ (for better or worse).
6
+ The CoffeeScript of TypeScript. Much closer to ES2015+ (for better or worse).
7
7
 
8
- Also TypeScript, the sky is the limit. [Online Civet Playground](https://civet-web.vercel.app/)
8
+ - [Online Civet Playground](https://civet-web.vercel.app/)
9
+ - [Civet VSCode Extension](https://marketplace.visualstudio.com/items?itemName=DanielX.civet)
9
10
 
10
11
  Quickstart Guide
11
12
  ---
@@ -15,8 +16,8 @@ Quickstart Guide
15
16
  npm install -g @danielx/civet
16
17
  # Compile civet source file to typescript
17
18
  civet < source.civet > output.ts
18
- # Execute a civet source file in node
19
- node --loader @danielx/civet/register.mjs source.civet
19
+ # Execute a civet source file in node using ts-node
20
+ node --loader ts-node/esm --loader @danielx/civet/esm source.civet
20
21
  ```
21
22
 
22
23
  ![image](https://user-images.githubusercontent.com/18894/184558519-b675a903-7490-43ba-883e-0d8addacd4b9.png)
@@ -146,6 +147,7 @@ Things Added that CoffeeScript didn't
146
147
  - Convenience for ES6+ Features
147
148
  - `<` as `extends` shorthand
148
149
  - `@#id` -> `this.#id` shorthand for private identifiers
150
+ - `import` shorthand `x from "./x"` -> `import x from "./x"`
149
151
  - ClassStaticBlock
150
152
  - `get`/`set` method definitions
151
153
  - Private identifiers `#id`