documentify
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,3 +5,3 @@ { | ||
"repository": "stackhtml/documentify", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "deps": "dependency-check . && dependency-check . --extra --no-dev", |
@@ -28,2 +28,23 @@ # documentify [![stability][0]][1] | ||
## Configuring transforms | ||
### Command Line | ||
```sh | ||
$ documentify ./index.html -t my-transform -t another-transform | ||
``` | ||
### package.json | ||
```json | ||
{ | ||
"name": "my-app", | ||
"version": "1.0.0", | ||
"private": true, | ||
"documentify": { | ||
"transform": [ | ||
"my-transform", | ||
"another-transform" | ||
] | ||
} | ||
} | ||
``` | ||
## Writing transforms | ||
@@ -30,0 +51,0 @@ A transform is a regular function that returns a `through` stream. The |
8738
96