@aquilinedrones/ad-docs
v2.0.1
Published
A cli to transform markdown to html
Readme
ad-docs
A cli to transform markdown to html
install
npm i ad-docs --save-devor
yarn add ad-docs -Dusage
npx ad-docs -h
Usage: cli [options]
Options:
-o --out <path> path where save the html (default: "/dist")
--cwd <path> current working directory
run run on browser
-V, --version output the version number
-h, --help display help for command- cwd current working directory, default is where you run
npx ad-docscommand - out path of the output html file, it will use
cwdas base path
Example
npx ad-docsAbove command will transform all .md files to .html from current directory to dist
npx ad-docs runAbove command will run all .html files and open browser
deps
predictable stream error management
this one allows for grouping of pipe streams for DRY
publish
This module is made available on npm as ad-docs.
maintainer: aquilinedrones
- with username/password
npm login
npm publish- with automation token
export NPM_TOKEN="<your token here>"
yarn publish- why is the
.npmrcfile not on the root of the project?
Since the file requires an env var, NPM_TOKEN, if that is not declared on the shell session, any npm or yarn command will actually fail, which is not a good dev UX.
