§2024-06-11
¶Step 1. Initialize project
$ mkdir docsify && cd $_
$ fnm list
* v20.14.0 default, lts-latest
* system
$ npm init -y
Wrote to /home/alexlai/nodejs_proj/docsify/package.json:
{
"name": "docsify",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": ""
}
$ npm install docsify
¶Step 2. create docs directory