motoko 0.1.0 → 0.1.1
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 +7 -3
- package/lib/generated/moc.js +21 -21
- package/lib/index.js +29 -35
- package/package.json +3 -3
- package/lib/generated/.prettierignore +0 -1
package/README.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
# Motoko
|
2
2
|
|
3
|
-
### Compile [Motoko](https://smartcontracts.org/) smart contracts in Node.js and the browser.
|
3
|
+
> ### Compile [Motoko](https://smartcontracts.org/) smart contracts in Node.js and the browser.
|
4
|
+
|
5
|
+
---
|
4
6
|
|
5
7
|
## Installation:
|
6
8
|
|
7
|
-
|
9
|
+
```sh
|
10
|
+
npm install -S motoko
|
11
|
+
```
|
8
12
|
|
9
13
|
## Basic Example:
|
10
14
|
|
@@ -23,7 +27,7 @@ actor {
|
|
23
27
|
`);
|
24
28
|
|
25
29
|
// Generate the corresponding Candid interface
|
26
|
-
console.log(mo.candid('Main.mo'))
|
30
|
+
console.log(mo.candid('Main.mo'));
|
27
31
|
```
|
28
32
|
|
29
33
|
## Advanced Usage:
|