@kokiito0926/hypernode 0.0.4 → 0.0.5
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 +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,14 +4,6 @@
|
|
|
4
4
|
HTTPS([esm.sh](https://esm.sh/)など)で公開されている、ESMのモジュールを直接的にimportをすることができるようになります。
|
|
5
5
|
[zx](https://github.com/google/zx)と組み合わせたりして、短いスクリプトを書いたりするときに便利かもしれません。
|
|
6
6
|
|
|
7
|
-
```javascript
|
|
8
|
-
import axios from "https://esm.sh/axios";
|
|
9
|
-
import { chunk } from "https://esm.sh/lodash";
|
|
10
|
-
|
|
11
|
-
console.log(axios?.get);
|
|
12
|
-
console.log(chunk([1, 2, 3, 4, 5, 6], 2));
|
|
13
|
-
```
|
|
14
|
-
|
|
15
7
|
## インストール
|
|
16
8
|
|
|
17
9
|
```bash
|
|
@@ -24,6 +16,16 @@ $ npm install --global @kokiito0926/hypernode
|
|
|
24
16
|
$ hypernode ./example.js
|
|
25
17
|
```
|
|
26
18
|
|
|
19
|
+
## コード
|
|
20
|
+
|
|
21
|
+
```javascript
|
|
22
|
+
import axios from "https://esm.sh/axios";
|
|
23
|
+
import { chunk } from "https://esm.sh/lodash";
|
|
24
|
+
|
|
25
|
+
console.log(axios?.get);
|
|
26
|
+
console.log(chunk([1, 2, 3, 4, 5, 6], 2));
|
|
27
|
+
```
|
|
28
|
+
|
|
27
29
|
## 未分類
|
|
28
30
|
|
|
29
31
|
```bash
|