@kokiito0926/leftify 0.0.0 → 0.0.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 +16 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
## leftify
|
|
2
2
|
|
|
3
|
-
leftify
|
|
3
|
+
leftifyは、標準入力から受け取ったテキストのインデントを除去することができるコマンドラインのツールです。
|
|
4
|
+
内部的にdedentライブラリを使用しているので、スマートにインデントを除去することができます。
|
|
5
|
+
|
|
6
|
+
## インストール
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
$ npm install --global @kokiito0926/leftify
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 使用方法
|
|
13
|
+
|
|
14
|
+
なんらかのテキストをパイプで渡して、コマンドを実行します。
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
$ cat ./example.txt | leftify
|
|
18
|
+
```
|
|
4
19
|
|
|
5
20
|
## ライセンス
|
|
6
21
|
|
package/package.json
CHANGED